/*
Theme Name: Green Architects Blocksy
Theme URI: https://greenarchitects.in/
Description: Offline migration child theme for Green Architects. Built on Blocksy with native WordPress blocks.
Author: Green Architects
Template: blocksy
Version: 0.1.0
Text Domain: greenarchitects-blocksy
*/

:root {
  --ga-forest: #173f35;
  --ga-leaf: #3f6f4f;
  --ga-moss: #789262;
  --ga-sand: #f3efe4;
  --ga-mist: #edf3ed;
  --ga-ink: #17221f;
  --ga-muted: #5e6b66;
  --ga-gold: #c59b4a;
  --ga-radius: 18px;
  --ga-shadow: 0 18px 55px rgba(23, 63, 53, 0.12);
}

body {
  color: var(--ga-ink);
  text-rendering: optimizeLegibility;
}

.ga-eyebrow {
  color: var(--ga-leaf);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ga-hero {
  border-radius: clamp(1rem, 3vw, 2.5rem);
  box-shadow: var(--ga-shadow);
  overflow: hidden;
}

.ga-card {
  background: #fff;
  border: 1px solid rgba(23, 63, 53, .12);
  border-radius: var(--ga-radius);
  box-shadow: 0 10px 35px rgba(23, 63, 53, .07);
  height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ga-card:hover {
  box-shadow: var(--ga-shadow);
  transform: translateY(-4px);
}

.ga-section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.ga-cta {
  background: linear-gradient(135deg, var(--ga-forest), #285d4c);
  border-radius: var(--ga-radius);
  color: #fff;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.ga-cta h2,
.ga-cta p { color: inherit; }

.ga-cta .wp-block-buttons { justify-content: center; }

.ga-trust-strip {
  border-block: 1px solid rgba(23, 63, 53, .14);
  color: var(--ga-muted);
  font-size: .9rem;
  padding-block: 1.25rem;
}

.ga-page-hero {
  background: linear-gradient(135deg, var(--ga-mist), var(--ga-sand));
  border-radius: var(--ga-radius);
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5.5rem);
}

.ga-page-hero .wp-block-cover,
.ga-feature-image img {
  border-radius: var(--ga-radius);
}

.ga-stat {
  border-left: 3px solid var(--ga-gold);
  padding-left: 1rem;
}

.ga-stat strong {
  color: var(--ga-forest);
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.ga-project-meta {
  background: var(--ga-mist);
  border-radius: var(--ga-radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.ga-project-meta p {
  border-bottom: 1px solid rgba(23, 63, 53, .12);
  margin: 0;
  padding-block: .75rem;
}

.ga-project-meta p:last-child { border-bottom: 0; }

.ga-post-shell {
  margin-inline: auto;
  max-width: 920px;
}

.ga-post-shell > h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem) !important;
}

.ga-note {
  background: var(--ga-sand);
  border-left: 4px solid var(--ga-gold);
  border-radius: 0 var(--ga-radius) var(--ga-radius) 0;
  padding: 1.25rem 1.5rem;
}

.ga-kicker {
  color: var(--ga-muted);
  font-size: .9rem;
}

.wp-block-button__link {
  font-weight: 700;
  letter-spacing: .01em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* Converted legacy layouts sometimes store short labels as loose text nodes. */
.ga-migrated-source .ga-inline-fragment {
  margin-block: 0.2rem;
}

.ga-migrated-source .ga-inline-fragment + .ga-inline-fragment {
  margin-top: 0;
}

/* Source assets recovered from legacy builder/background metadata. */
.ga-preserved-images {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: clamp(2.5rem, 6vw, 5rem);
}

.ga-preserved-images > h2 {
  grid-column: 1 / -1;
}

.ga-preserved-images .wp-block-image {
  margin: 0;
}

.ga-preserved-images img {
  aspect-ratio: 4 / 3;
  border-radius: var(--ga-radius);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 680px) {
  .ga-preserved-images { grid-template-columns: 1fr; }
}

.ct-author-name .ct-media-container-static {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 63, 53, .14);
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
}

.ct-author-name .ct-media-container-static img {
  height: 100% !important;
  object-fit: contain;
  padding: .35rem;
  width: 100%;
}
