/*
 Theme Name: Good Old Bytes GeneratePress Child
 Theme URI: https://goodoldbytes.com/
 Description: A bright retro catalog / digital museum child theme for GeneratePress Free.
 Author: Good Old Bytes
 Author URI: https://goodoldbytes.com/
 Template: generatepress
 Version: 1.0.0
 Text Domain: good-old-bytes
 Requires at least: 6.0
 Tested up to: 6.5
 Requires PHP: 7.4
*/

:root {
  --gob-paper: #f7eedc;
  --gob-paper-2: #fff8ea;
  --gob-card: #f9efd8;
  --gob-ink: #1f241f;
  --gob-muted: #5f6359;
  --gob-teal: #245d5c;
  --gob-teal-dark: #174443;
  --gob-red: #9e3b2f;
  --gob-mustard: #d8a834;
  --gob-mustard-dark: #9e6c15;
  --gob-line: #d6c39f;
  --gob-shadow: 0 16px 40px rgba(49, 40, 23, 0.12);
  --gob-radius: 18px;
  --gob-wide: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 168, 52, 0.13), transparent 26rem),
    linear-gradient(180deg, #fff9ee 0%, var(--gob-paper) 100%);
  color: var(--gob-ink);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(36, 93, 92, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 93, 92, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
}

a { color: var(--gob-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gob-red); }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.gob-wrap {
  width: min(var(--gob-wide), calc(100% - 40px));
  margin-inline: auto;
}
.gob-skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  background: var(--gob-teal);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.gob-skip-link:focus { left: 12px; }

.gob-site-header {
  background: rgba(255, 248, 234, 0.92);
  border-bottom: 4px solid var(--gob-teal-dark);
  backdrop-filter: blur(8px);
}
.gob-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 46px;
  padding-block: 8px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.86rem;
  color: var(--gob-ink);
}
.gob-motto {
  color: var(--gob-teal-dark);
}
.gob-badge {
  border: 2px solid var(--gob-teal-dark);
  color: var(--gob-teal-dark);
  padding: 5px 9px;
  border-radius: 9px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(-1deg);
}
.gob-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 14px;
}
.gob-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--gob-ink);
}
.gob-logo-mark {
  width: 74px;
  height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 3px solid var(--gob-teal-dark);
  border-radius: 14px 14px 7px 7px;
  background:
    linear-gradient(#c8d0bc 0 0) center 44px/52px 8px no-repeat,
    linear-gradient(#223c3d 0 0) center 14px/42px 26px no-repeat,
    #e5d5b5;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.45), 0 5px 0 rgba(23,68,67,.15);
  position: relative;
}
.gob-logo-mark::after {
  content: "GOB";
  position: absolute;
  top: 16px;
  color: var(--gob-mustard);
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 900;
}
.gob-brand-title {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  line-height: 0.82;
  font-weight: 900;
  color: var(--gob-teal-dark);
  text-transform: uppercase;
  letter-spacing: -0.055em;
  text-shadow: 2px 2px 0 rgba(216, 168, 52, .25);
}
.gob-brand-tagline {
  display: block;
  margin-top: 8px;
  color: var(--gob-red);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
}
.gob-primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: .86rem;
}
.gob-primary-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.gob-primary-nav a {
  color: var(--gob-ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding: 8px 0;
}
.gob-primary-nav a:hover,
.gob-primary-nav .current-menu-item > a {
  color: var(--gob-red);
  border-bottom-color: var(--gob-red);
}
.gob-search-toggle {
  border: 0;
  background: transparent;
  color: var(--gob-ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}
.gob-mobile-toggle {
  display: none;
  border: 2px solid var(--gob-teal-dark);
  background: var(--gob-paper-2);
  border-radius: 11px;
  padding: 8px 10px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  color: var(--gob-teal-dark);
}

.gob-home-main { padding-bottom: 48px; }
.gob-hero {
  padding: 32px 0 18px;
}
.gob-hero-card {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  min-height: 390px;
  overflow: hidden;
  border: 2px solid var(--gob-line);
  border-radius: var(--gob-radius);
  box-shadow: var(--gob-shadow);
  background: var(--gob-paper-2);
}
.gob-hero-copy {
  padding: clamp(26px, 4vw, 46px);
  background:
    linear-gradient(90deg, rgba(255, 248, 234, .96), rgba(255, 248, 234, .86)),
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(158,59,47,.08) 29px);
  border-right: 2px dashed rgba(158,59,47,.28);
}
.gob-kicker {
  margin: 0 0 10px;
  color: var(--gob-red);
  font-family: "Courier New", Courier, monospace;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gob-hero h1,
.gob-page-hero h1 {
  margin: 0;
  color: var(--gob-teal-dark);
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  line-height: .94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.gob-hero p {
  max-width: 520px;
  margin: 18px 0 0;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.55;
  color: var(--gob-ink);
}
.gob-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  background: var(--gob-mustard);
  color: #241600;
  border: 2px solid var(--gob-mustard-dark);
  border-radius: 8px;
  padding: 11px 18px;
  box-shadow: 0 4px 0 rgba(158,108,21,.45);
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.gob-button:hover { transform: translateY(1px); box-shadow: 0 2px 0 rgba(158,108,21,.45); color: #241600; }
.gob-button--small { padding: 8px 12px; font-size: .86rem; margin-top: 13px; }
.gob-button--teal { background: var(--gob-teal); border-color: var(--gob-teal-dark); color: #fff; box-shadow: 0 4px 0 rgba(23,68,67,.35); }
.gob-button--teal:hover { color: #fff; }
.gob-hero-art {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 63, 62, .82), rgba(20, 63, 62, .2)),
    url('https://domainname/wp-content/uploads/2026/06/hero.webp') center/cover no-repeat,
    radial-gradient(circle at 62% 45%, #e9d8b8 0 13%, transparent 14%),
    linear-gradient(135deg, #1e5655, #0e3434);
}
.gob-hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .5;
}
.gob-folder-stack {
  position: absolute;
  left: 7%;
  bottom: 42px;
  width: min(470px, 58%);
  height: 225px;
  border: 3px solid rgba(82, 57, 26, .35);
  border-radius: 16px;
  background: linear-gradient(#c59444, #9f6d2e);
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
}
.gob-folder-stack span {
  position: absolute;
  left: 26px;
  right: 26px;
  height: 92px;
  border: 2px solid rgba(107,76,38,.28);
  border-radius: 12px 12px 3px 3px;
  background: #ecd4a3;
  box-shadow: 0 -2px 0 rgba(255,255,255,.35) inset;
}
.gob-folder-stack span:nth-child(1){ top: -56px; transform: rotate(-1.3deg); }
.gob-folder-stack span:nth-child(2){ top: -24px; left: 48px; transform: rotate(.8deg); }
.gob-folder-stack span:nth-child(3){ top: 10px; left: 70px; transform: rotate(-.4deg); }
.gob-folder-stack span:nth-child(4){ top: 46px; left: 34px; }
.gob-folder-stack b {
  position: absolute;
  top: 92px;
  left: 60px;
  transform: rotate(-2deg);
  border: 3px solid var(--gob-red);
  color: var(--gob-red);
  padding: 12px 17px;
  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
  line-height: 1.2;
  background: rgba(255,255,255,.18);
}
.gob-folder-label {
  display: inline-block;
  margin: 16px 0 0 28px;
  padding: 5px 22px;
  background: #f7e2b2;
  color: var(--gob-red);
  border: 1px solid rgba(107,76,38,.2);
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  font-size: .82rem;
  text-transform: uppercase;
}
.gob-computer-drawing {
  position: absolute;
  right: 6%;
  bottom: 38px;
  width: 245px;
  height: 205px;
  border: 3px solid #e9d8b8;
  border-radius: 18px 18px 8px 8px;
  background:
    linear-gradient(#233b3b 0 0) center 32px/138px 82px no-repeat,
    linear-gradient(#e0c89d 0 0) center 140px/176px 30px no-repeat,
    #cfbc93;
  box-shadow: 8px 10px 0 rgba(0,0,0,.18);
  transform: rotate(1deg);
}
.gob-computer-drawing::after {
  content: "GOOD OLD\A BYTES";
  white-space: pre;
  position: absolute;
  top: 50px;
  left: 70px;
  color: var(--gob-mustard);
  font-family: "Courier New", monospace;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.gob-section { padding: 18px 0 28px; }
.gob-card-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.gob-folder-card,
.gob-article-card,
.gob-reading-card,
.gob-page-card,
.gob-timeline,
.gob-topic-bar {
  background: rgba(255, 248, 234, 0.86);
  border: 2px solid var(--gob-line);
  border-radius: var(--gob-radius);
  box-shadow: 0 6px 0 rgba(214,195,159,.28);
}
.gob-folder-card {
  position: relative;
  min-height: 150px;
  padding: 20px 18px 17px;
  text-decoration: none;
  color: var(--gob-ink);
  overflow: hidden;
}
.gob-folder-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -2px;
  width: 82px;
  height: 18px;
  border: 2px solid var(--gob-line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #e8c985;
}
.gob-folder-card:nth-child(even)::before { background: #c9d3bd; }
.gob-folder-card h3 {
  margin: 20px 0 8px;
  color: var(--gob-teal-dark);
  line-height: 1.06;
  font-size: 1.24rem;
}
.gob-folder-card p {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: .84rem;
  line-height: 1.35;
  color: #3e423d;
}
.gob-folder-card strong {
  display: block;
  margin-top: 12px;
  color: var(--gob-red);
  font-family: "Courier New", monospace;
  font-weight: 900;
}
.gob-folder-icon { font-size: 2rem; display: inline-block; }

.gob-feature-strip {
  display: grid;
  grid-template-columns: .92fr 1.4fr;
  gap: 14px;
  margin-top: 12px;
}
.gob-feature-main {
  min-height: 255px;
  border-radius: var(--gob-radius);
  border: 2px solid var(--gob-line);
  background:
    linear-gradient(90deg, rgba(23, 68, 67, .98), rgba(23, 68, 67, .72)),
    radial-gradient(circle at 85% 50%, rgba(216,168,52,.3), transparent 22rem);
  color: #fff5dd;
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gob-shadow);
}
.gob-feature-main::after {
  content: "GATEWAY 2000";
  position: absolute;
  right: 20px;
  bottom: 18px;
  border: 2px dashed rgba(255,255,255,.28);
  padding: 13px 16px;
  transform: rotate(-3deg);
  color: #fff5dd;
  font-family: "Courier New", monospace;
  font-weight: 900;
  opacity: .55;
}
.gob-feature-main h2 {
  margin: 0 0 7px;
  color: #fff5dd;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.02;
}
.gob-feature-main p { margin: 0; color: #f9e6bd; font-family: "Courier New", monospace; }
.gob-exhibit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gob-exhibit-card {
  background: rgba(255, 248, 234, 0.86);
  border: 2px solid var(--gob-line);
  border-radius: var(--gob-radius);
  padding: 16px;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gob-product-box {
  min-height: 115px;
  border-radius: 12px;
  border: 2px solid rgba(36, 93, 92, .24);
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(216,168,52,.12)),
    var(--gob-card);
  display: grid;
  place-items: center;
  font-family: "Courier New", monospace;
  font-weight: 900;
  color: var(--gob-teal-dark);
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}
.gob-product-box--cow {
  background:
    radial-gradient(circle at 18% 24%, #111 0 14px, transparent 15px),
    radial-gradient(circle at 74% 38%, #111 0 20px, transparent 21px),
    radial-gradient(circle at 48% 78%, #111 0 18px, transparent 19px),
    #f2eee4;
}
.gob-exhibit-card h3,
.gob-article-card h3 {
  margin: 12px 0 5px;
  color: var(--gob-ink);
  font-size: 1.1rem;
  line-height: 1.12;
}
.gob-exhibit-card p,
.gob-article-card p {
  margin: 0;
  color: #4c5048;
  font-family: "Courier New", monospace;
  font-size: .82rem;
  line-height: 1.35;
}
.gob-topic-bar {
  margin-top: 14px;
  padding: 13px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.gob-topic-bar strong {
  color: var(--gob-red);
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  margin-right: 5px;
}
.gob-tag {
  display: inline-flex;
  border: 1px solid #9faf8d;
  color: var(--gob-teal-dark);
  background: #e6ecd6;
  border-radius: 7px;
  padding: 4px 12px;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: .8rem;
}
.gob-tag:hover { background: #f1dfa9; color: var(--gob-red); }

.gob-latest-grid {
  display: grid;
  grid-template-columns: 1.9fr .8fr;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}
.gob-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 12px;
}
.gob-section-heading h2 {
  margin: 0;
  color: var(--gob-teal-dark);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.gob-section-heading a {
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .86rem;
}
.gob-article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gob-article-card {
  padding: 15px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  color: var(--gob-ink);
  text-decoration: none;
}
.gob-article-thumb {
  min-height: 100px;
  border: 2px solid rgba(36, 93, 92, .2);
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(36,93,92,.1), rgba(216,168,52,.16)),
    #ead8b6;
  display: grid;
  place-items: center;
  color: var(--gob-teal-dark);
  font-family: "Courier New", monospace;
  font-weight: 900;
  text-align: center;
  padding: 8px;
}
.gob-meta {
  margin: 0 0 6px;
  color: var(--gob-red);
  font-family: "Courier New", monospace;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.gob-reading-card {
  padding: 22px;
  border-color: rgba(158,59,47,.35);
}
.gob-reading-card h2 { margin: 0 0 12px; color: var(--gob-red); }
.gob-reading-card ul { padding-left: 20px; margin: 0; font-family: "Courier New", monospace; font-size: .9rem; }
.gob-reading-card li { margin: 8px 0; }

.gob-timeline {
  margin-top: 18px;
  padding: 20px;
}
.gob-timeline h2 { margin: 0 0 18px; color: var(--gob-teal-dark); font-size: 1.4rem; text-transform: uppercase; }
.gob-timeline-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.gob-time-node {
  text-align: center;
  font-family: "Courier New", monospace;
  position: relative;
  padding-top: 18px;
  color: var(--gob-ink);
}
.gob-time-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  background: var(--gob-mustard);
  border: 2px solid var(--gob-mustard-dark);
  border-radius: 50%;
}
.gob-time-node b { display:block; color: var(--gob-teal-dark); font-size: 1rem; }
.gob-time-node span { display:block; font-size:.75rem; line-height:1.2; }

.gob-page-hero {
  padding: 48px 0;
  background: linear-gradient(90deg, rgba(36,93,92,.12), transparent);
  border-bottom: 2px solid var(--gob-line);
}
.gob-page-content-wrap { padding: 28px 0 56px; }
.gob-page-card {
  padding: clamp(22px, 4vw, 44px);
  max-width: 900px;
  margin-inline: auto;
}
.gob-page-card h2,
.gob-page-card h3 {
  color: var(--gob-teal-dark);
  line-height: 1.15;
}
.gob-page-card h2 { font-size: 2rem; margin-top: 0; }
.gob-page-card h3 { margin-top: 28px; }
.gob-page-card p,
.gob-page-card li { font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.7; color: #2d302b; }
.gob-page-card ul { padding-left: 24px; }

.gob-contact-form { margin-top: 22px; display: grid; gap: 14px; }
.gob-contact-form label { display: grid; gap: 7px; font-family: Arial, Helvetica, sans-serif; font-weight: 700; color: var(--gob-ink); }
.gob-contact-form input,
.gob-contact-form textarea,
.gob-search-form input {
  width: 100%;
  border: 2px solid var(--gob-line);
  background: #fffdf7;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--gob-ink);
}
.gob-contact-form textarea { min-height: 170px; resize: vertical; }
.gob-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gob-form-message { padding: 12px 14px; border-radius: 10px; background: #e9f1de; border: 2px solid #9faf8d; font-family: Arial, sans-serif; }
.gob-form-message.is-error { background: #f7ded8; border-color: #c77c70; }
.gob-honeypot { display:none !important; }

.gob-site-footer {
  border-top: 4px solid var(--gob-teal-dark);
  background: #efe1c4;
  padding: 32px 0;
  color: var(--gob-ink);
}
.gob-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 24px;
  align-items: start;
}
.gob-footer-title { color: var(--gob-teal-dark); margin: 0 0 8px; font-size: 1.6rem; line-height: 1; }
.gob-footer-grid p { margin: 0; font-family: "Courier New", monospace; font-size: .88rem; }
.gob-footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.gob-footer-nav a { color: var(--gob-ink); font-family: "Courier New", monospace; font-weight: 800; text-decoration: none; }
.gob-footer-nav a:hover { color: var(--gob-red); }
.gob-footer-note { text-align: right; }

@media (max-width: 1080px) {
  .gob-header-main { align-items: flex-start; }
  .gob-primary-nav ul { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .gob-card-row { grid-template-columns: repeat(2, 1fr); }
  .gob-feature-strip, .gob-latest-grid { grid-template-columns: 1fr; }
  .gob-exhibit-grid { grid-template-columns: repeat(2, 1fr); }
  .gob-timeline-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .gob-wrap { width: min(100% - 26px, var(--gob-wide)); }
  .gob-topline { display: none; }
  .gob-header-main { flex-wrap: wrap; }
  .gob-brand-title { font-size: 2.25rem; }
  .gob-logo-mark { width: 58px; height: 54px; }
  .gob-mobile-toggle { display: inline-flex; }
  .gob-primary-nav { width: 100%; display: none; }
  .gob-primary-nav.is-open { display: block; }
  .gob-primary-nav ul { display: grid; gap: 4px; justify-content: stretch; }
  .gob-primary-nav a { display: block; padding: 11px 0; }
  .gob-hero-card, .gob-feature-strip { grid-template-columns: 1fr; }
  .gob-hero-copy { border-right: 0; border-bottom: 2px dashed rgba(158,59,47,.28); }
  .gob-hero-art { min-height: 310px; }
  .gob-folder-stack { width: 70%; left: 4%; transform: scale(.88); transform-origin: bottom left; }
  .gob-computer-drawing { transform: scale(.75) rotate(1deg); transform-origin: bottom right; right: 0; }
  .gob-card-row, .gob-exhibit-grid, .gob-article-grid { grid-template-columns: 1fr; }
  .gob-article-card { grid-template-columns: 1fr; }
  .gob-timeline-row { grid-template-columns: repeat(2, 1fr); }
  .gob-form-row { grid-template-columns: 1fr; }
  .gob-footer-grid { grid-template-columns: 1fr; }
  .gob-footer-note { text-align: left; }
}
.gob-search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.gob-search-form .gob-button { margin-top: 0; }
.gob-single-image {
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid var(--gob-line);
  margin-bottom: 20px;
}
.gob-single-image img { display: block; width: 100%; }
.gob-archive-desc { max-width: 720px; font-family: Arial, Helvetica, sans-serif; }
.nav-links { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a, .nav-links span {
  border: 1px solid var(--gob-line);
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--gob-paper-2);
  text-decoration: none;
}

/* Version 1.1: closer to the chosen Retro Catalog / Digital Museum mockup. */
:root {
  --gob-wide: 1500px;
  --gob-paper: #f8efd9;
  --gob-paper-2: #fff8ea;
  --gob-card: #fbf0d7;
  --gob-teal: #1f6662;
  --gob-teal-dark: #114b49;
  --gob-red: #a73c30;
  --gob-mustard: #dfb33b;
  --gob-line: #d8bf91;
}

body {
  background:
    radial-gradient(circle at 18% 2%, rgba(223, 179, 59, 0.12), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(31, 102, 98, 0.08), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, #f8efd9 100%);
}

.gob-site-header {
  position: relative;
  background: rgba(255, 248, 234, 0.96);
  border-top: 3px solid #1f241f;
  border-bottom: 5px solid var(--gob-teal-dark);
}

.gob-topline {
  min-height: 38px;
  padding-block: 8px 2px;
  font-size: 0.9rem;
}

.gob-header-main {
  display: grid;
  grid-template-columns: minmax(420px, 620px) 1fr;
  gap: 34px;
  align-items: end;
  padding: 20px 0 22px;
}

.gob-brand {
  min-width: 0;
}

.gob-logo-mark {
  width: 80px;
  height: 72px;
  border-radius: 15px 15px 8px 8px;
}

.gob-brand-title {
  font-size: clamp(3.1rem, 4.9vw, 5.7rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.gob-brand-tagline {
  margin-top: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.19em;
}

.gob-primary-nav {
  justify-content: end;
  align-self: center;
  font-size: 0.92rem;
  letter-spacing: 0.055em;
}

.gob-primary-nav ul {
  justify-content: end;
  gap: clamp(14px, 1.65vw, 30px);
  flex-wrap: nowrap;
}

.gob-primary-nav a {
  white-space: nowrap;
  padding-bottom: 13px;
}

.gob-home-main {
  padding-top: 18px;
}

.gob-hero {
  padding: 34px 0 22px;
}

.gob-hero-card {
  grid-template-columns: 40% 60%;
  min-height: 470px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(67, 48, 18, 0.13);
}

.gob-hero-copy {
  min-height: 470px;
  padding: clamp(42px, 5vw, 72px) clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gob-hero h1,
.gob-page-hero h1 {
  font-size: clamp(3.15rem, 5.35vw, 6.25rem);
  line-height: 0.92;
  max-width: 610px;
}

.gob-hero p {
  max-width: 540px;
  font-size: 1.06rem;
}

.gob-button {
  border-radius: 9px;
  padding: 12px 22px;
}

.gob-hero-art {
  min-height: 470px;
  background:
    linear-gradient(90deg, rgba(17, 75, 73, 0.13), rgba(17, 75, 73, 0.04)),
    var(--gob-hero-image) center/cover no-repeat,
    radial-gradient(circle at 65% 38%, rgba(238, 223, 187, 0.62) 0 10%, transparent 11%),
    linear-gradient(135deg, #174c49 0%, #103f3d 100%);
}

.gob-hero-art::before {
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(255,255,255,.105) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.105) 1px, transparent 1px),
    linear-gradient(35deg, transparent 0 49%, rgba(255,255,255,.08) 50%, transparent 51%);
  background-size: 48px 48px, 48px 48px, 220px 220px;
}

.gob-folder-stack {
  left: 13%;
  bottom: 54px;
  width: min(560px, 62%);
  height: 236px;
}

.gob-folder-stack span {
  height: 104px;
  left: 34px;
  right: 34px;
}

.gob-folder-stack span:nth-child(1){ top: -72px; transform: rotate(-1deg); }
.gob-folder-stack span:nth-child(2){ top: -38px; left: 62px; transform: rotate(.7deg); }
.gob-folder-stack span:nth-child(3){ top: 0; left: 86px; transform: rotate(-.4deg); }
.gob-folder-stack span:nth-child(4){ top: 39px; left: 48px; }

.gob-folder-label {
  margin: 17px 0 0 44px;
  min-width: 210px;
  text-align: center;
}

.gob-folder-stack b {
  top: 112px;
  left: 70px;
  font-size: 1.05rem;
}

.gob-computer-drawing {
  right: 6.5%;
  bottom: 48px;
  width: 300px;
  height: 240px;
}

.gob-computer-drawing::after {
  top: 58px;
  left: 90px;
  font-size: 18px;
}

.gob-category-section {
  padding-top: 28px;
}

.gob-card-row {
  gap: 16px;
}

.gob-folder-card {
  min-height: 168px;
  padding: 26px 22px 20px;
}

.gob-folder-card h3 {
  font-size: 1.42rem;
}

.gob-folder-card p {
  font-size: 0.92rem;
}

.gob-feature-strip {
  grid-template-columns: 0.9fr 1.35fr;
  gap: 18px;
  align-items: stretch;
}

.gob-feature-main {
  min-height: 295px;
  padding: 34px;
  background:
    linear-gradient(90deg, rgba(17, 75, 73, .98), rgba(31, 102, 98, .76)),
    radial-gradient(circle at 77% 48%, rgba(223,179,59,.34), transparent 17rem);
}

.gob-feature-main h2 {
  font-size: clamp(2.35rem, 3.8vw, 4rem);
  max-width: 520px;
}

.gob-feature-main::before {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 46px;
  width: 210px;
  height: 120px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 24%, #111 0 15px, transparent 16px),
    radial-gradient(circle at 68% 52%, #111 0 25px, transparent 26px),
    radial-gradient(circle at 44% 83%, #111 0 18px, transparent 19px),
    #f1eadb;
  opacity: .95;
  transform: rotate(-2deg);
}

.gob-feature-main::after {
  right: 58px;
  bottom: 20px;
  font-size: 1rem;
}

.gob-exhibit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gob-exhibit-card {
  min-height: 295px;
  padding: 18px;
}

.gob-product-box {
  min-height: 145px;
}

.gob-topic-bar {
  padding: 18px;
  gap: 10px;
}

.gob-tag {
  padding: 6px 16px;
}

.gob-timeline {
  padding: 28px 26px;
}

.gob-timeline h2 {
  font-size: 1.65rem;
}

.gob-latest-grid {
  grid-template-columns: minmax(0, 2fr) minmax(280px, .62fr);
  gap: 24px;
}

.gob-section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.gob-article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gob-article-card {
  grid-template-columns: 150px 1fr;
  gap: 18px;
  min-height: 160px;
  padding: 18px;
}

.gob-article-thumb {
  min-height: 122px;
  font-size: 0.95rem;
}

.gob-article-card h3 {
  font-size: 1.32rem;
}

.gob-reading-card {
  padding: 30px;
  position: sticky;
  top: 20px;
}

.gob-reading-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.gob-reading-card li {
  margin: 12px 0;
}

.gob-site-footer {
  padding: 44px 0;
}

@media (max-width: 1280px) {
  .gob-header-main {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .gob-primary-nav {
    justify-content: start;
  }
  .gob-primary-nav ul {
    justify-content: start;
    flex-wrap: wrap;
  }
  .gob-brand-title {
    white-space: normal;
  }
  .gob-hero-card {
    grid-template-columns: 1fr;
  }
  .gob-hero-copy,
  .gob-hero-art {
    min-height: 390px;
  }
}

@media (max-width: 1080px) {
  .gob-card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gob-latest-grid,
  .gob-feature-strip {
    grid-template-columns: 1fr;
  }
  .gob-reading-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .gob-header-main {
    display: flex;
  }
  .gob-brand-title {
    font-size: 2.5rem;
    line-height: 0.86;
  }
  .gob-brand-tagline {
    font-size: 0.72rem;
  }
  .gob-hero h1,
  .gob-page-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }
  .gob-hero-copy {
    padding: 30px 22px;
  }
  .gob-hero-art {
    min-height: 330px;
  }
  .gob-folder-stack {
    left: 2%;
    width: 78%;
  }
  .gob-computer-drawing {
    width: 245px;
    height: 200px;
  }
  .gob-exhibit-grid,
  .gob-article-grid {
    grid-template-columns: 1fr;
  }
  .gob-article-card {
    grid-template-columns: 1fr;
  }
}
