/*
Theme Name: Grumpy Old Geezer Garage
Theme URI: https://grumpyoldgeezergarage.com/
Author: Grumpy Old Geezer Garage
Description: Custom WordPress theme for the Grumpy Old Geezer Garage site with editable Geezer block patterns.
Version: 1.13
Text Domain: geezer
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #e7eff7;
  color: #1f2933;
  line-height: 1.55;
}
a {
  color: #164f82;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.25px;
  text-underline-offset: 2px;
}
a:hover {
  color: #1f87ff;
  text-decoration-thickness: 2px;
}

.geezer-site { min-height: 100vh; }
.geezer-header, .geezer-footer {
  background: #263746;
  color: #f6fbff;
  padding: 16px 20px;
}
.geezer-header a, .geezer-footer a { color: #f6fbff; }
.geezer-header-inner, .geezer-footer-inner, .geezer-main {
  max-width: 1100px;
  margin: 0 auto;
}
.geezer-site-title { margin: 0; font-size: 28px; font-weight: bold; }
.geezer-nav { margin-top: 10px; }
.geezer-nav ul { list-style: none; padding: 0; margin: 0; }
.geezer-nav li { display: inline-block; margin-right: 18px; }

.geezer-main {
  background: #f6fbff;
  padding: 24px;
}
.geezer-content img { max-width: 100%; height: auto; }
.geezer-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.geezer-content th, .geezer-content td {
  border: 1px solid #9fb3c8;
  padding: 8px 10px;
  vertical-align: top;
}
.geezer-content th { background: #dbe7f2; }

.geezer-banner-container {
  width: 100%;
  margin: 0 0 14px 0;
  text-align: center;
}
.geezer-page-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.geezer-breadcrumbs {
  font-size: 14px;
  margin: 10px 0 18px 0;
}
.geezer-page-title {
  font-size: 34px;
  line-height: 1.15;
  margin: 14px 0 18px 0;
}
.geezer-hub-intro,
.geezer-parting-shot {
  max-width: 900px;
  border: 1px solid #9fb3c8;
  background: #eef5fb;
  padding: 16px 18px;
  margin: 18px auto 24px auto;
}
.geezer-hub-intro p,
.geezer-parting-shot p { margin: 0 0 12px 0; }
.geezer-hub-intro p:last-child,
.geezer-parting-shot p:last-child { margin-bottom: 0; }
.geezer-parting-shot h2 { margin-top: 0; }

.geezer-link-section {
  max-width: 960px;
  margin: 24px auto;
}
.geezer-link-group {
  border-top: 2px solid #9fb3c8;
  padding-top: 18px;
  margin: 28px 0 34px 0;
}
.geezer-link-group:first-child { border-top: 0; padding-top: 0; }
.geezer-link-group h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 8px 0;
}
.geezer-link-group > p {
  margin: 0 0 16px 0;
}
.geezer-link-object {
  border: 1px solid #9fb3c8;
  background: #f6fbff;
  padding: 14px;
  margin: 14px 0;
  clear: both;
}
.geezer-link-topline {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px;
  margin: 0 0 8px 0;
}
.geezer-link-object .wp-block-image,
.geezer-link-object figure {
  flex: 0 0 120px;
  width: 120px;
  max-width: 120px;
  margin: 0;
}
.geezer-link-object img {
  width: 120px;
  max-width: 120px;
  height: auto;
  display: block;
}
.geezer-link-title,
.geezer-link-topline h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.editor-styles-wrapper .geezer-link-topline {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
}
.editor-styles-wrapper .geezer-link-title,
.editor-styles-wrapper .geezer-link-topline h3 {
  margin: 0 !important;
}

.geezer-link-lead { display: block; font-weight: bold; margin: 0 0 3px 0; }
.geezer-link-blurb { display: block; margin: 0; }

.geezer-back-top {
  text-align: right;
  font-size: 13px;
  margin: 20px 0 10px 0;
  clear: both;
}
.geezer-back-top a { text-decoration: none; }

.geezer-page-index {
  border: 1px solid #9fb3c8;
  background: #eef5fb;
  padding: 12px;
  margin: 18px 0;
}
.geezer-section-image {
  display: block;
  max-width: 100%;
  margin: 24px auto 12px;
  text-align: center;
}

.geezer-section-image img {
  width: 65%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain !important;
}
.geezer-callout {
  max-width: 75%;
  border: 2px solid #9fb3c8;
  background: #e9f2fb;
  padding: 12px;
  margin: 22px auto;
  overflow: hidden;
}
.geezer-callout img { float: left; width: 140px; margin: 0 14px 8px 0; }
.geezer-related-pages {
  border-top: 1px solid #9fb3c8;
  margin-top: 24px;
  padding-top: 14px;
}

@media (max-width: 700px) {
  .geezer-main { padding: 16px; }
  .geezer-nav li { display: block; margin: 6px 0; }
  .geezer-page-title { font-size: 30px; }
  .geezer-hub-intro, .geezer-parting-shot { padding: 14px; }
  .geezer-link-topline { align-items: center; }
  .geezer-link-object .wp-block-image,
  .geezer-link-object figure { width: 120px; margin: 0; }
  .geezer-callout { max-width: 100%; }
  .geezer-callout img { float: none; display: block; margin: 0 auto 10px; }
}


/* Geezer base pattern objects */
.geezer-page-header-object {
  margin: 0 0 22px 0;
}
.geezer-article-section,
.geezer-base-section,
.geezer-spec-section {
  max-width: 960px;
  margin: 26px auto;
}
.geezer-article-section h2,
.geezer-base-section h2,
.geezer-spec-section h2 {
  margin-top: 0;
}
.geezer-section-placeholder {
  border: 1px dashed #9fb3c8;
  background: #f6fbff;
  padding: 12px 14px;
}
.geezer-section-divider {
  border: 0;
  border-top: 1px solid #9fb3c8;
  margin: 28px 0;
}
.geezer-spec-table,
.geezer-torque-table,
.geezer-variant-table {
  font-size: 15px;
}
.geezer-spec-table td:nth-child(odd),
.geezer-torque-table td:nth-child(odd),
.geezer-variant-table td:nth-child(odd) {
  font-weight: bold;
}


.geezer-hub-body-group {
  max-width: 960px;
  margin: 24px auto;
}
.geezer-hub-category-group {
  border-top: 2px solid #9fb3c8;
  padding-top: 18px;
  margin: 28px 0 34px 0;
}
.geezer-hub-category-group:first-child { border-top: 0; padding-top: 0; }
.geezer-hub-category-group h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 8px 0;
}
.geezer-hub-category-group > p {
  margin: 0 0 16px 0;
}
.geezer-hub-link-drop-note {
  border: 1px dashed #9fb3c8;
  background: #eef5fb;
  padding: 10px 12px;
}


/* 1.12: stable inline link row using native Columns block */
.geezer-link-topline.wp-block-columns,
.editor-styles-wrapper .geezer-link-topline.wp-block-columns {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 8px 0 !important;
}
.geezer-link-icon-column,
.editor-styles-wrapper .geezer-link-icon-column {
  flex: 0 0 120px !important;
  width: 120px !important;
  max-width: 120px !important;
}
.geezer-link-title-column,
.editor-styles-wrapper .geezer-link-title-column {
  flex: 1 1 auto !important;
}
.geezer-link-title-column .geezer-link-title,
.editor-styles-wrapper .geezer-link-title-column .geezer-link-title {
  margin: 0 !important;
}
.geezer-link-object .geezer-link-topline .wp-block-column {
  margin: 0 !important;
}


/* 1.13: link object uses native Media & Text block to keep button and title on one row */
.geezer-link-object .geezer-link-topline.wp-block-media-text,
.editor-styles-wrapper .geezer-link-object .geezer-link-topline.wp-block-media-text {
  grid-template-columns: 120px auto !important;
  gap: 14px !important;
  align-items: center !important;
  margin: 0 0 8px 0 !important;
}
.geezer-link-object .wp-block-media-text__media,
.editor-styles-wrapper .geezer-link-object .wp-block-media-text__media {
  width: 120px !important;
  max-width: 120px !important;
  margin: 0 !important;
}
.geezer-link-object .wp-block-media-text__media img,
.editor-styles-wrapper .geezer-link-object .wp-block-media-text__media img {
  width: 120px !important;
  max-width: 120px !important;
  height: auto !important;
  display: block !important;
}
.geezer-link-object .wp-block-media-text__content,
.editor-styles-wrapper .geezer-link-object .wp-block-media-text__content {
  padding: 0 !important;
}
.geezer-link-object .geezer-link-title,
.editor-styles-wrapper .geezer-link-object .geezer-link-title {
  margin: 0 !important;
}
@media (max-width: 700px) {
  .geezer-link-object .geezer-link-topline.wp-block-media-text,
  .editor-styles-wrapper .geezer-link-object .geezer-link-topline.wp-block-media-text {
    display: grid !important;
    grid-template-columns: 120px auto !important;
  }
}
