/*
Theme Name: GWE CRE
Theme URI: https://www.gwamarillo.com/
Author: Andrews and Associates IT Solutions
Description: Custom classic theme for Gaut Whittenburg Emerson Commercial Real Estate. Ports the existing front end design into WordPress with a single header, a single footer, and menu driven navigation. Built for the classic editor.
Version: 0.3.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.1
License: Proprietary
Text Domain: gwe-cre
*/

/*
 * Real styling lives in assets/css/custom.css, which is the ported site
 * stylesheet. This file exists for the theme header and for small overrides
 * that are specific to WordPress output (admin bar offset, alignment classes,
 * comment markup, and so on).
 */

/* WordPress core alignment classes, needed because the old static site had none. */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin: 0 auto 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: #6b7280;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* Editor content inside page.php keeps readable measure without touching custom.css. */
.entry-content > * {
  margin-bottom: 1.25rem;
}

.entry-content ul,
.entry-content ol {
  margin-left: 1.5rem;
}

/*
 * WordPress only classes. These have no equivalent in the ported stylesheet
 * because the static site had no inner page banner, no pagination, and no
 * server rendered signup form.
 */

/* Click driven dropdowns. custom.css opens the panel on hover and focus-within,
   which never fires on touch. This adds the state the header script toggles. */
.nav-dropdown--open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Inner page banner, one treatment for every page. */
.page-banner {
  padding: 3.5rem 0 1rem;
  background-color: var(--brand-light-gray);
  border-bottom: 1px solid var(--brand-gray);
}

.page-banner .section-title {
  margin-bottom: 0.5rem;
}

.page-section {
  padding: 3.5rem 0 4.5rem;
}

/* Optional building name line above the size on a deal card. */
.featured-listing-card__building {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.35rem;
}

/* Footer newsletter signup. */
.footer-signup__label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-signup__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.35rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.footer-signup__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-signup__button {
  padding: 0.65rem 1.35rem;
  border: 0;
  border-radius: 0.35rem;
  background-color: var(--brand-red);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.footer-signup__button:hover {
  background-color: var(--brand-red-dark);
}

/* Pagination. */
.pagination-wrap {
  margin-top: 2.5rem;
  text-align: center;
}

.pagination-wrap .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  margin: 0 0.15rem;
  border: 1px solid var(--brand-gray);
  border-radius: 0.35rem;
  text-decoration: none;
  color: inherit;
}

.pagination-wrap .page-numbers.current {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

/* Buildout embed container. Reserves height so the page does not jump when the
   grid renders client side. */
.buildout-embed {
  min-height: 40rem;
}

.listings-intro {
  margin-bottom: 2rem;
}

/* Admin only inline notice, used when a required integration value is missing. */
.notice-inline {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand-red);
  background-color: var(--brand-light);
  font-size: 0.95rem;
}

.notice-inline p {
  margin: 0;
}
