/*
Theme Name: SofiaCh
Theme URI: https://example.com
Author: Sofia Ch
Description: A warm, minimal personal travel blog theme with a circular hero photo, pill-shaped navigation and continent-based destination archives. Inspired by a Wix draft.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sofiach
*/

@font-face {
  font-family: 'Brittany Signature';
  src: url('fonts/BrittanySignature.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mansalva';
  src: url('fonts/Mansalva-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBF7F1;
  --bg-alt: #F3ECE0;
  --ink: #242323;
  --ink-soft: #696969;
  --accent: #F2B84B;
  --accent-highlight: #FCCF7E;
  --accent-dark: #1E1B17;
  --pill-bg: #F2F2F2;
  --pill-text: #696969;
  --border: #E8E0D2;
  --radius-lg: 40px;
  --radius-pill: 999px;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Mansalva', cursive;
  --font-kicker: 'Brittany Signature', 'Alex Brush', 'Segoe Script', cursive;
  --font-title: 'Space Grotesk', 'Poppins', sans-serif;
  --max-width: 1180px;
  --header-height: 128px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 600; margin: 0 0 16px; }

.script-heading {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1.1;
  margin: 0 0 24px;
}

p { margin: 0 0 16px; color: var(--ink-soft); }

/* Buttons & pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: none;
  color: var(--pill-text);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pill:hover { transform: translateY(-1px); }

.pill--dark {
  background: var(--accent-dark);
  color: #fff;
}

.pill--accent {
  background: var(--pill-bg);
  color: var(--pill-text);
}

/* Site header: transparent, floats over the hero content below it */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px 0;
  background: transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-logo {
  font-family: var(--font-logo);
  font-size: 1.8rem;
  color: var(--ink);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.primary-nav a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.primary-nav li:not(.current-menu-item) a:hover {
  background: var(--pill-bg);
  border-color: var(--border);
}

.primary-nav .current-menu-item a,
.primary-nav .current-menu-parent a {
  background: var(--accent-dark);
  color: #fff;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  background: #fff;
}

.header-search input[type="search"] {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 120px;
}

.social-icons { display: flex; gap: 14px; }
.social-icons a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.social-icons svg { width: 16px; height: 16px; }

/* Hero */
.hero {
  padding: 0 0 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero-photo {
  position: relative;
  aspect-ratio: 8 / 5;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='20.003 54.371 159.994 91.259' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, 1);'%3E%3Cg%3E%3Cpath d='M20.003 54.371c-.012 6.37.461 12.776 1.16 19.005 2.472 22.031 8.321 45.755 25.919 59.238 7.074 5.419 15.577 8.739 24.267 10.71 30.454 6.908 62.712-2.43 89.578-18.346 5.126-3.037 10.263-6.459 13.5-11.461 3.139-4.852 4.193-10.739 4.83-16.482 1.549-13.958.604-28.552-2.251-42.663H20.003z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='20.003 54.371 159.994 91.259' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, 1);'%3E%3Cg%3E%3Cpath d='M20.003 54.371c-.012 6.37.461 12.776 1.16 19.005 2.472 22.031 8.321 45.755 25.919 59.238 7.074 5.419 15.577 8.739 24.267 10.71 30.454 6.908 62.712-2.43 89.578-18.346 5.126-3.037 10.263-6.459 13.5-11.461 3.139-4.852 4.193-10.739 4.83-16.482 1.549-13.958.604-28.552-2.251-42.663H20.003z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-content {
  padding-top: var(--header-height);
}

.hero-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.hero-intro { font-size: 1.05rem; }

.hero-intro a { color: var(--accent-dark); text-decoration: underline; }

.hero-cta-heading {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-cta-heading .highlight {
  background: var(--accent-highlight);
  padding: 2px 12px;
  border-radius: 20px;
  font-style: italic;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.tag-row .pill { font-size: 0.85rem; padding: 8px 18px; }

/* Destination cards */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.destination-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
}

.destination-card img {
  width: 100%; height: 100%; object-fit: cover;
}

.destination-card .icon-badge {
  position: absolute;
  top: 16px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.destination-card .card-label {
  position: absolute;
  bottom: 16px; left: 16px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Section wrapper */
.section { padding: 60px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-heading h2 { font-size: 1.8rem; }
.section-heading .view-all { font-size: 0.9rem; text-decoration: underline; }

/* Post / archive cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card { display: block; }
.post-card .thumb {
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 16px;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); font-weight: 600; margin-bottom: 6px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card .excerpt { font-size: 0.92rem; }

/* Category hero: text overlapping a blob-masked photo (matches Wix reference) */
.cat-hero-section { padding: 0; overflow: hidden; }

.cat-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 480px;
}

.cat-hero-text {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  padding-right: 20px;
}

.cat-hero-kicker {
  display: block;
  font-family: var(--font-kicker);
  font-size: 2.2rem;
  color: var(--ink-soft);
  margin-left: 8px;
  margin-bottom: -18px;
}

.cat-hero-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 6rem;
  line-height: 1;
  color: var(--cat-color, var(--accent));
  margin: 0 0 16px;
  text-shadow: 3px 3px 0 rgba(30, 27, 23, 0.12);
}

.cat-hero-teaser {
  max-width: 360px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cat-hero-photo {
  position: relative;
  z-index: 1;
  margin-left: -60px;
  aspect-ratio: 8 / 5;
}
.cat-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='19.987 54.277 159.976 91.323' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, -1);'%3E%3Cg%3E%3Cpath d='M179.7 127.4c-3-36.5-35.1-75.6-71.6-73-11.8.9-24.4 3.7-36 6.4-24.5 5.7-44.4 26.7-50.2 51.2-2.6 11-2.5 22.6 0 33.6H179c1-6 1.2-12.1.7-18.2z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='19.987 54.277 159.976 91.323' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, -1);'%3E%3Cg%3E%3Cpath d='M179.7 127.4c-3-36.5-35.1-75.6-71.6-73-11.8.9-24.4 3.7-36 6.4-24.5 5.7-44.4 26.7-50.2 51.2-2.6 11-2.5 22.6 0 33.6H179c1-6 1.2-12.1.7-18.2z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.cat-section-heading {
  font-size: 1.5rem;
  margin: 16px 0 28px;
}

/* Post grid with title overlaid on the photo */
.cat-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cat-post-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-alt);
}
.cat-post-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-post-card-title {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.cat-empty-note { font-size: 1rem; margin-bottom: 24px; }

@media (max-width: 900px) {
  .cat-hero { grid-template-columns: 1fr; min-height: 0; }
  .cat-hero-photo { margin-left: 0; margin-top: 24px; aspect-ratio: 4/3; }
  .cat-hero-title { font-size: 3.5rem; }
  .cat-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cat-post-grid { grid-template-columns: 1fr; }
}

/* Page / single content */
.page-hero {
  padding: 0 0 40px;
  overflow: hidden;
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-hero-text {
  padding-top: var(--header-height);
}
.page-hero .page-photo {
  aspect-ratio: 160/154;
  background: var(--bg-alt);
}
.page-hero .page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='20 22.998 159.999 154.001' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, 1);'%3E%3Cg%3E%3Cpath d='M41.738 43.211c-7.63 7.267-12.885 16.332-16.793 26.264a88.408 88.408 0 0 0-4.269 14.32c-1.152 5.536-.471 11.527-.524 17.169-.095 10.175.363 19.968 4.238 29.259 5.261 12.614 14.036 21.442 24.834 29.185 4.869 3.491 10.149 6.492 15.704 8.976 2.062.922 4.163 1.191 6.294 1.969 2.715.992 5.481 2.448 8.282 3.201a100.91 100.91 0 0 0 15.258 2.864c8.405.914 16.893.76 25.107-.533 8.501-1.338 15.248-4.801 22.763-8.654 3.978-2.039 9.222-3.535 12.753-6.313a65.83 65.83 0 0 0 14.476-15.804 61.038 61.038 0 0 0 6.484-13.201c5.813-16.587 3.873-36.003-.158-52.834-3.377-14.103-12.213-26.871-23.598-36.647-2.747-2.359-5.951-2.739-8.954-4.726-3.086-2.042-5.978-5.68-9.247-7.28-5.713-2.796-11.638-4.877-17.537-6.108-4.194-.875-8.697-1.297-13.372-1.319-12.2-.056-25.566 2.615-37.625 7.073-9.15 3.386-17.549 6.884-24.116 13.139z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='20 22.998 159.999 154.001' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, 1);'%3E%3Cg%3E%3Cpath d='M41.738 43.211c-7.63 7.267-12.885 16.332-16.793 26.264a88.408 88.408 0 0 0-4.269 14.32c-1.152 5.536-.471 11.527-.524 17.169-.095 10.175.363 19.968 4.238 29.259 5.261 12.614 14.036 21.442 24.834 29.185 4.869 3.491 10.149 6.492 15.704 8.976 2.062.922 4.163 1.191 6.294 1.969 2.715.992 5.481 2.448 8.282 3.201a100.91 100.91 0 0 0 15.258 2.864c8.405.914 16.893.76 25.107-.533 8.501-1.338 15.248-4.801 22.763-8.654 3.978-2.039 9.222-3.535 12.753-6.313a65.83 65.83 0 0 0 14.476-15.804 61.038 61.038 0 0 0 6.484-13.201c5.813-16.587 3.873-36.003-.158-52.834-3.377-14.103-12.213-26.871-23.598-36.647-2.747-2.359-5.951-2.739-8.954-4.726-3.086-2.042-5.978-5.68-9.247-7.28-5.713-2.796-11.638-4.877-17.537-6.108-4.194-.875-8.697-1.297-13.372-1.319-12.2-.056-25.566 2.615-37.625 7.073-9.15 3.386-17.549 6.884-24.116 13.139z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.entry-content { max-width: 760px; }
.entry-content h2 { margin-top: 40px; font-size: 1.4rem; }
.entry-content p { font-size: 1rem; }

.single-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
}
.single-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.entry-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em; }

.post-nav {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
}

/* Footer newsletter */
.footer-newsletter { padding: 64px 0; overflow: hidden; }
.footer-newsletter .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.footer-newsletter-heading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 2.6rem;
  margin: 0 0 12px;
}
.footer-newsletter-subtext {
  font-family: Georgia, 'Palatino', 'Book Antiqua', serif;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 24px;
}
.footer-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
}
.footer-newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.footer-newsletter-form button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: #A9CE63;
  color: #1E1B17;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.footer-photo {
  width: 200px;
  aspect-ratio: 160/158;
  justify-self: center;
}
.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='20 22.998 159.999 154.001' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, 1);'%3E%3Cg%3E%3Cpath d='M41.738 43.211c-7.63 7.267-12.885 16.332-16.793 26.264a88.408 88.408 0 0 0-4.269 14.32c-1.152 5.536-.471 11.527-.524 17.169-.095 10.175.363 19.968 4.238 29.259 5.261 12.614 14.036 21.442 24.834 29.185 4.869 3.491 10.149 6.492 15.704 8.976 2.062.922 4.163 1.191 6.294 1.969 2.715.992 5.481 2.448 8.282 3.201a100.91 100.91 0 0 0 15.258 2.864c8.405.914 16.893.76 25.107-.533 8.501-1.338 15.248-4.801 22.763-8.654 3.978-2.039 9.222-3.535 12.753-6.313a65.83 65.83 0 0 0 14.476-15.804 61.038 61.038 0 0 0 6.484-13.201c5.813-16.587 3.873-36.003-.158-52.834-3.377-14.103-12.213-26.871-23.598-36.647-2.747-2.359-5.951-2.739-8.954-4.726-3.086-2.042-5.978-5.68-9.247-7.28-5.713-2.796-11.638-4.877-17.537-6.108-4.194-.875-8.697-1.297-13.372-1.319-12.2-.056-25.566 2.615-37.625 7.073-9.15 3.386-17.549 6.884-24.116 13.139z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg preserveAspectRatio='none' viewBox='20 22.998 159.999 154.001' height='200' width='200' xmlns='http://www.w3.org/2000/svg' style='transform: scale(-1, 1);'%3E%3Cg%3E%3Cpath d='M41.738 43.211c-7.63 7.267-12.885 16.332-16.793 26.264a88.408 88.408 0 0 0-4.269 14.32c-1.152 5.536-.471 11.527-.524 17.169-.095 10.175.363 19.968 4.238 29.259 5.261 12.614 14.036 21.442 24.834 29.185 4.869 3.491 10.149 6.492 15.704 8.976 2.062.922 4.163 1.191 6.294 1.969 2.715.992 5.481 2.448 8.282 3.201a100.91 100.91 0 0 0 15.258 2.864c8.405.914 16.893.76 25.107-.533 8.501-1.338 15.248-4.801 22.763-8.654 3.978-2.039 9.222-3.535 12.753-6.313a65.83 65.83 0 0 0 14.476-15.804 61.038 61.038 0 0 0 6.484-13.201c5.813-16.587 3.873-36.003-.158-52.834-3.377-14.103-12.213-26.871-23.598-36.647-2.747-2.359-5.951-2.739-8.954-4.726-3.086-2.042-5.978-5.68-9.247-7.28-5.713-2.796-11.638-4.877-17.537-6.108-4.194-.875-8.697-1.297-13.372-1.319-12.2-.056-25.566 2.615-37.625 7.073-9.15 3.386-17.549 6.884-24.116 13.139z' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-col-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pill-text);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--pill-text); }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.8rem; color: var(--pill-text); }

@media (max-width: 900px) {
  .footer-newsletter .container { grid-template-columns: 1fr; text-align: center; }
  .footer-newsletter-form { margin: 0 auto; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .container { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container, .page-hero .container { grid-template-columns: 1fr; }
  .destination-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-nav ul { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .destination-grid, .post-grid { grid-template-columns: 1fr; }
  .script-heading { font-size: 2.4rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
}
