:root {
  --color-red: #da1c18;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-charcoal: #333333;
  --color-light-gray: #f2f2f2;
  --color-surface: #fcfcfd;
  --color-border: #d9d9d9;
  --color-green-accent: #6b857b;
  --container: 1120px;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--color-charcoal);
  background:
    radial-gradient(circle at 12% 8%, rgba(218, 28, 24, 0.05) 0, rgba(218, 28, 24, 0) 36%),
    radial-gradient(circle at 88% 14%, rgba(12, 74, 138, 0.08) 0, rgba(12, 74, 138, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  line-height: 1.6;
}

p,
li,
td,
th,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

a {
  color: #0c4a8a;
  overflow-wrap: anywhere;
}

a:hover,
a:focus {
  color: #08325f;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--color-black);
  color: var(--color-white);
  text-decoration: none;
}

.site-banner {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.8rem;
  padding: 0.34rem 0.8rem;
  text-align: center;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  max-width: min(62vw, 420px);
  flex: 0 1 auto;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
}

.page-index .brand-link {
  max-width: min(70vw, 470px);
}

.page-index .brand-logo {
  max-width: 470px;
  max-height: 104px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--color-black);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-text {
  font-family: "Merriweather", Georgia, serif;
  line-height: 1.2;
}

.brand-text strong {
  display: block;
  color: var(--color-black);
  font-size: 1rem;
}

.brand-text span {
  display: block;
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  border: 1px solid #cfd9e4;
  background: #f7fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.menu-toggle:hover,
.menu-toggle:focus {
  background: #eef3f8;
}

.menu-toggle[aria-expanded="true"] {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(218, 28, 24, 0.25);
}

.header-facebook {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #cfd9e4;
  background: #f7fafc;
  color: #1877f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.header-facebook:hover,
.header-facebook:focus {
  background: #eef3f8;
  border-color: #b9c8d7;
  color: #0f57b8;
}

.header-facebook svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav-list a {
  display: inline-block;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.46rem 0.76rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
  background: #f3f6f9;
  border-color: #dfe6ed;
  color: #0f172a;
}

main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  position: relative;
}

.hero {
  background: linear-gradient(130deg, #ffffff 0%, #f7fafc 48%, #edf2f7 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 28, 24, 0.16) 0%, rgba(218, 28, 24, 0) 72%);
  pointer-events: none;
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--color-black);
}

.hero p {
  margin-top: 0;
  max-width: 70ch;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr);
  gap: 1.25rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero-media figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #555;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 140ms ease;
}

.btn-small {
  padding: 0.42rem 0.68rem;
  font-size: 0.84rem;
}

.btn-primary {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(218, 28, 24, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #b91714;
  border-color: #b91714;
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-border);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-light-gray);
}

.section {
  margin-top: 1.35rem;
  padding: 1.2rem 1.2rem 1.35rem;
  border-radius: 14px;
  border: 1px solid #d7e0e8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

main > section.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #64748b 0%, #cbd5e1 100%);
}

main > section.section:nth-of-type(even) {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%);
  border-color: #ced8e2;
}

main > section.section:nth-of-type(even)::before {
  background: linear-gradient(180deg, #334155 0%, #94a3b8 100%);
}

.section > *:first-child {
  margin-top: 0;
}

.section > *:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-family: "Merriweather", Georgia, serif;
  color: var(--color-black);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.section > h2 {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #d8e2eb;
}

.section-intro {
  margin-top: 0;
  max-width: 75ch;
  color: #4b5563;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid #cfd9e3;
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  overflow-wrap: anywhere;
}

.card h3 {
  margin-top: 0;
  font-family: "Merriweather", Georgia, serif;
  color: var(--color-black);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #d3dde7;
  border-radius: 12px;
  padding: 0.8rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.media-card figure {
  margin: 0;
}

.media-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 8px;
  background: #f6f8fa;
  border: 1px solid #e7edf2;
}

.media-card img.contain {
  object-fit: contain;
}

.media-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: #444;
  overflow-wrap: anywhere;
}

.media-file {
  font-family: monospace;
  font-size: 0.78rem;
  color: #666;
}

.kv-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.kv-list li {
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  background: #f8f8f8;
  border: 1px solid #ececec;
}

.notice,
.notice-danger,
.notice-neutral {
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid transparent;
}

.notice-danger {
  border-color: #dfb7b7;
  background: #fff6f5;
}

.notice-neutral {
  border-color: #d1dbe5;
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f6fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.site-footer {
  border-top: 1px solid #233040;
  background: linear-gradient(160deg, #0f172a 0%, #1f2937 100%);
  color: #e5edf5;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.8rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
}

.footer-col h2,
.footer-col h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-family: "Merriweather", Georgia, serif;
}

.footer-col ul {
  margin: 0;
  padding-left: 1rem;
}

.footer-col a {
  color: #d5e6ff;
}

.footer-col p,
.footer-col li {
  color: #d3dee8;
}

.footer-meta {
  margin-top: 1rem;
  border-top: 1px solid rgba(231, 237, 243, 0.18);
  padding-top: 0.9rem;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: #ffffff;
  font-weight: 700;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.hours-table th,
.hours-table td {
  padding: 0.7rem;
  border-bottom: 1px solid #e7e7e7;
  text-align: left;
}

.hours-table thead th {
  font-family: "Merriweather", Georgia, serif;
  background: #f6f6f6;
  color: var(--color-black);
}

.form-panel {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.form-top-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.step-indicator {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  background: #fafafa;
  white-space: nowrap;
}

.step-indicator[aria-current="step"] {
  border-color: var(--color-red);
  color: var(--color-red);
  font-weight: 700;
  background: #fff5f5;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-grid .full {
  grid-column: span 2;
}

label,
legend {
  font-weight: 700;
  font-size: 0.93rem;
}

.is-required::after {
  content: " *";
  color: var(--color-red);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.3rem;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  padding: 0.62rem;
  font: inherit;
  color: var(--color-charcoal);
  background: #fff;
}

.date-field {
  margin-top: 0.3rem;
}

.date-field-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.date-field-controls select {
  margin-top: 0;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
.btn:focus,
.menu-toggle:focus {
  outline: 3px solid #005fcc;
  outline-offset: 1px;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.radio-row,
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 0.35rem;
}

.radio-row label,
.checkbox-row label {
  font-weight: 600;
}

.radio-row input,
.checkbox-row input {
  width: auto;
  margin-right: 0.4rem;
}

.form-nav {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.step-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.2rem;
  color: var(--color-black);
}

.step-description {
  margin-top: 0;
  margin-bottom: 1rem;
}

.conditional-panel {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fbfbfb;
  padding: 0.8rem;
}

.repeater {
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 0.8rem;
  background: #fbfbfb;
}

.repeater-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.repeater-header h4 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1rem;
}

.repeater-list {
  display: grid;
  gap: 0.7rem;
}

.repeater-item {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  padding: 0.75rem;
}

.repeater-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.repeater-item-head strong {
  font-size: 0.95rem;
}

.repeater-error {
  margin-top: 0.55rem;
  color: #8f1512;
  font-size: 0.9rem;
}

.legal-copy {
  border: 1px solid #e4d0d0;
  background: #fff8f8;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.form-confirmation {
  border: 1px solid #b8d9bf;
  background: #f4f9f5;
  border-radius: 8px;
  padding: 1rem;
}

.status {
  margin-top: 0.9rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.93rem;
}

.status.error {
  background: #fff4f4;
  border: 1px solid #ebb9b9;
}

.status.success {
  background: #f4f9f5;
  border: 1px solid #b8d9bf;
}

.inline-note {
  font-size: 0.9rem;
  color: #555;
  overflow-wrap: anywhere;
}

.link-list {
  padding-left: 1rem;
}

.partner-strip {
  border: 1px solid #ccd8e4;
  border-radius: 12px;
  background: linear-gradient(150deg, #ffffff 0%, #eff5fb 100%);
  padding: 1.15rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.map-card {
  overflow: hidden;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 1fr);
  gap: 1rem;
  align-items: start;
}

.location-photo {
  margin: 0;
}

.location-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid #dbe3ea;
}

.location-photo figcaption {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #555;
}

.location-details {
  border: 1px solid #e1e8ef;
  border-radius: 10px;
  background: #f8fafc;
  padding: 0.95rem;
}

.location-details p {
  margin-top: 0;
}

.directions-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  display: grid;
  place-items: center;
  z-index: 120;
  padding: 1rem;
}

.directions-overlay[hidden] {
  display: none;
}

.directions-modal {
  width: min(96vw, 520px);
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 12px;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.28);
  padding: 1rem;
}

.directions-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.directions-modal-head h2 {
  margin: 0;
  font-size: 1.18rem;
}

.directions-close {
  border: 1px solid #cdd7e1;
  background: #f3f7fb;
  color: #111827;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.directions-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.directions-options .btn {
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

.adopt-dog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.adopt-dog-card {
  display: flex;
  flex-direction: column;
}

.adopt-dog-photo-wrap {
  border: 1px solid #dfe6ed;
  border-radius: 8px;
  background: #f7fafc;
  overflow: hidden;
}

.adopt-dog-photo {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

.adopt-dog-body {
  padding-top: 0.75rem;
}

.adopt-dog-body h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.adopt-dog-meta {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-photo {
  margin: 0;
  border-radius: 12px;
  border: 1px solid #dfe6ed;
  background: #f8fafc;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
}

.gallery-photo img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.admin-auth-card {
  max-width: 560px;
}

.admin-toolbar {
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}

.admin-list {
  display: grid;
  gap: 0.9rem;
}

.admin-dog-item {
  padding: 0;
  overflow: hidden;
}

.admin-dog-head {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dbe2ea;
  background: linear-gradient(180deg, #f8fbfe 0%, #edf3f9 100%);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
}

.admin-dog-item.open .admin-dog-head {
  border-bottom-color: #cfd9e3;
}

.admin-dog-thumb-wrap {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d6e0ea;
  background: #f4f8fc;
  display: grid;
  place-items: center;
}

.admin-dog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-dog-thumb-empty {
  font-size: 0.73rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-dog-head-meta {
  min-width: 0;
}

.admin-dog-head-meta strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: #111827;
}

.admin-dog-head-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #e6edf5;
  border: 1px solid #d2dbe5;
}

.admin-dog-editor {
  padding: 0.8rem;
}

.admin-photo-buttons {
  margin-top: 0.45rem;
}

.admin-row {
  border: 1px solid #dbe2e8;
  border-radius: 10px;
  background: #f9fbfd;
  padding: 0.8rem;
}

.admin-row-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-row-grid .full {
  grid-column: span 4;
}

.admin-row-actions {
  margin-top: 0.6rem;
}

.admin-preview {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.admin-preview img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border: 1px solid #d6e0ea;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adopt-dog-grid,
  .gallery-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5rem 0.9rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
    order: 2;
  }

  .header-facebook {
    order: 1;
    margin-left: auto;
  }

  .brand-link {
    max-width: min(66vw, 330px);
  }

  .brand-logo {
    max-width: 330px;
    max-height: 76px;
  }

  .page-index .brand-link {
    max-width: min(72vw, 380px);
  }

  .page-index .brand-logo {
    max-width: 380px;
    max-height: 86px;
  }

  .site-nav {
    width: 100%;
    order: 3;
    display: none;
    border-top: 1px solid #e4e9ef;
    margin-top: 0.25rem;
    padding-top: 0.45rem;
  }

  .site-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .grid-3,
  .grid-2,
  .media-grid,
  .form-grid,
  .adopt-dog-grid,
  .gallery-wall,
  .footer-grid,
  .admin-row-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: span 1;
  }

  .brand-logo {
    max-width: 285px;
    max-height: 66px;
  }

  .brand-link {
    max-width: min(78vw, 285px);
  }

  .page-index .brand-logo {
    max-width: 315px;
    max-height: 72px;
  }

  .page-index .brand-link {
    max-width: min(82vw, 315px);
  }

  .hero {
    padding: 1.3rem;
  }

  .section {
    padding: 1rem 0.95rem 1.1rem;
  }

  .hero-media img {
    height: 260px;
  }

  .media-card img,
  .gallery-photo img {
    height: 240px;
  }

  .location-photo img {
    height: 240px;
  }

  .directions-options {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 290px;
  }

  .admin-row-grid .full {
    grid-column: span 1;
  }

  .admin-dog-head {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-dog-head-action {
    display: none;
  }

  .admin-dog-thumb-wrap {
    width: 72px;
    height: 72px;
  }
}
