/*
 * Site fixes, 2026-11-23 (Kris Vassilev). Loaded after layout.css from templates/Page.ss.
 * A copy lives in themes/kings/css/ as well.
 */

/* Item 1: footer map, keyless Google embed */
.footer-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; }

/* Item 3: News page, Facebook feed below the news */
.fb-section {
  margin-top: 30px;
  margin-bottom: 30px; }
.fb-section .fb-container {
  border-top: 5px #0f6a36 solid;
  padding-top: 15px; }
.fb-section h2 {
  color: #0f6a36;
  margin: 0 0 20px; }

/* Item 5: Brand pages, product cards */
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin: 30px 0; }
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-top: 5px #0f6a36 solid;
  padding: 20px; }
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none; }
.product-card-link:hover,
.product-card-link:focus {
  color: inherit;
  text-decoration: none; }
.product-card-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; }
.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; }
.product-card h3 {
  color: #0f6a36;
  font-size: 20px;
  margin: 0 0 10px; }
.product-card-summary {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 15px; }
.product-card-more {
  margin-top: auto;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: bold;
  color: #0f6a36;
  text-transform: uppercase; }
.product-card-link:hover .product-card-more {
  text-decoration: underline; }
.product-card-link:hover h3 {
  text-decoration: underline; }
.product-card .product-card-request {
  align-self: flex-start;
  white-space: normal; }

/* Product details pop-up */
.modal.product-modal {
  z-index: 12000; } /* above the fixed site header (z-index up to 11100) */
.product-modal .modal-header {
  border-bottom: 5px #0f6a36 solid; }
.product-modal .modal-title {
  color: #0f6a36;
  margin: 0; }
.product-modal .close {
  color: #0f6a36;
  font-size: 30px;
  opacity: 0.8; }
.product-modal .modal-body img {
  max-width: 100%;
  height: auto; }
.product-modal-image {
  margin-bottom: 20px; }
.product-modal .modal-footer {
  text-align: left; }
.product-modal .modal-body > .row > div > *:first-child {
  margin-top: 0; }

/* Item 6: the Taylor page content (2026-11-16) has a wrapper that stretched it out of the old
   two-thirds column. The column is full width now, so the stretch would overflow. */
body.Brand #tvwide {
  width: auto !important; }
