.zgr-single-post {
  width: 100%;
  padding: 0 0 80px;
}

.zgr-single-post__inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px 0;
}

.zgr-single-post--feature .zgr-single-post__meta {
  margin-bottom: 24px;
}

.zgr-single-post__category {
  margin-bottom: 12px;
}
img.wp-post-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 10px;
}
.zgr-single-post__title {
  font-family: var(--font-tinos);
  font-size: 35px;
  font-weight: 600;
  line-height: 48px;
  color: var(--zgr-black);
  margin-bottom: 24px;
  margin-top: 40px;
}

.zgr-single-post__excerpt {
  font-family: var(--font-baskerville);
  font-size: 18px;
  line-height: 28.8px;
  color: var(--zgr-gray);
  margin-bottom: 32px;
  font-style: italic;
}

.zgr-single-post__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--zgr-light-gray);
  font-family: var(--font-urbanist);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-gray);
  flex-wrap: wrap;
}

.zgr-single-post__meta a {
  color: var(--zgr-navy);
}

.zgr-single-post__meta a:hover {
  text-decoration: underline;
}

.zgr-single-hero {
  width: 100%;
  margin: 0 0 8px;
}

.zgr-hero-attribution {
  max-width: 1020px;
  margin: 0 auto 1.3em;
  padding: 0 24px;
}

.zgr-hero-attribution .zgr-hero-attribution-inner {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;

}

.zgr-hero-attribution .zgr-image-description {
  margin: 0 0 4px;
  font-style: italic;
  font-size: 15px !important;
}

.zgr-hero-attribution .zgr-image-credit {
  margin: 0;
  font-size: 16px;
}

.zgr-hero-attribution a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zgr-single-hero__media {
  position: relative;
  width: 100%;
  padding: 2em 2em 0em 2em;
}

.zgr-single-hero__image {
  display: block;
  width: 100%;
  max-height: 78vh;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--zgr-radius);
}

.zgr-image-meta {
  position: absolute;
  top: 24px;
  right: 24px;
  width: min(360px, calc(100% - 48px));
}

.zgr-image-meta__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(18, 43, 80, 0.78);
  color: var(--zgr-white);
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  backdrop-filter: blur(10px);
}

.zgr-image-meta__toggle::-webkit-details-marker {
  display: none;
}

.zgr-image-meta__panel {
  margin-top: 12px;
  padding: 18px 20px;
  border-radius: var(--zgr-radius-sm);
  background: rgba(18, 43, 80, 0.9);
  color: var(--zgr-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.zgr-image-meta__item + .zgr-image-meta__item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.zgr-image-meta__label {
  margin-bottom: 6px;
  font-family: var(--font-urbanist);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.zgr-image-meta__value {
  font-family: var(--font-baskerville);
  font-size: 14px;
  line-height: 1.6;
  color: var(--zgr-white);
}

.zgr-single-post__content {
  font-family: var(--font-baskerville);
  font-size: 18px;
  line-height: 30px;
  color: var(--zgr-black);
}

.zgr-single-post__content p {
  margin-bottom: 1.4em;
}

.zgr-single-post__content h2 {
  font-family: var(--font-tinos);
  font-size: 26px;
  line-height: 34px;
  color: var(--zgr-black);
  margin: 1.6em 0 0.6em;
}

.zgr-single-post__content h3 {
  font-size: 22px;
  line-height: 30px;
  color: var(--zgr-black);
  margin: 1.4em 0 0.5em;
}

.zgr-single-post__content ul,
.zgr-single-post__content ol {
  margin: 0 0 1.4em 1.5em;
}

.zgr-single-post__content ul {
  list-style: disc;
}

.zgr-single-post__content ol {
  list-style: decimal;
}

.zgr-single-post__content li {
  margin-bottom: 0.5em;
}

.zgr-single-post__content blockquote {
  border-left: 3px solid var(--zgr-navy);
  margin: 1.6em 0;
  padding: 12px 24px;
  font-style: italic;
  color: var(--zgr-gray);
}

.zgr-single-post__content a {
  color: var(--zgr-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zgr-single-post__content img {
  width: 100%;
  height: auto;
  border-radius: var(--zgr-radius-sm);
}

.zgr-single-post__content figure {
  margin: 1.4em 0;
}

.zgr-single-post__content figcaption {
  font-family: var(--font-baskerville);
  font-size: 13px;
  font-style: italic;
  color: var(--zgr-gray);
  text-align: center;
  margin-top: 8px;
}

.zgr-single-post__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--zgr-light-gray);
}

.zgr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.zgr-tag {
  font-family: var(--font-urbanist);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-navy);
  border: 1px solid var(--zgr-light-gray);
  padding: 5px 10px;
  border-radius: 3px;
  transition: border-color 0.2s;
}

.zgr-tag:hover {
  border-color: var(--zgr-navy);
}

.zgr-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.zgr-post-nav__link {
  font-family: var(--font-urbanist);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-navy);
}

.zgr-post-nav__link:hover {
  text-decoration: underline;
}

.zgr-post-nav__link--next {
  text-align: right;
}

.zgr-post-nav__spacer {
  display: block;
  min-width: 1px;
}

.zgr-newsletter-page {
  padding: 56px 0 88px;
}

.zgr-newsletter-page__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.zgr-newsletter-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 480px);
  gap: 48px;
  align-items: start;
}

.zgr-newsletter-page__intro {
  padding-top: 24px;
}

.zgr-newsletter-page__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zgr-navy);
}

.zgr-newsletter-page__title {
  margin: 0 0 20px;
  font-family: var(--font-tinos);
  font-size: 52px;
  line-height: 1.1;
  color: var(--zgr-black);
}

.zgr-newsletter-page__lead {
  max-width: 720px;
  margin: 0 0 32px;
  font-family: var(--font-baskerville);
  font-size: 18px;
  line-height: 1.8;
  color: var(--zgr-gray);
}

.zgr-newsletter-page__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.zgr-newsletter-page__benefit {
  padding: 24px;
  border: 1px solid var(--zgr-light-gray);
  border-radius: var(--zgr-radius);
  background: #fafafa;
}

.zgr-newsletter-page__benefit h2 {
  margin: 0 0 12px;
  font-family: var(--font-tinos);
  font-size: 28px;
  line-height: 1.2;
  color: var(--zgr-black);
}

.zgr-newsletter-page__benefit p {
  margin: 0;
  font-family: var(--font-baskerville);
  font-size: 15px;
  line-height: 1.8;
  color: var(--zgr-gray);
}

.zgr-newsletter-page__form-shell {
  position: sticky;
  top: 140px;
}

.zgr-newsletter-page__form-card {
  padding: 32px;
  border: 1px solid var(--zgr-light-gray);
  border-radius: 14px;
  background: var(--zgr-white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.zgr-newsletter-page__form-label {
  margin: 0 0 12px;
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zgr-navy);
}

.zgr-newsletter-page__form-title {
  margin: 0 0 12px;
  font-family: var(--font-tinos);
  font-size: 34px;
  line-height: 1.15;
  color: var(--zgr-black);
}

.zgr-newsletter-page__form-copy {
  margin: 0 0 24px;
  font-family: var(--font-baskerville);
  font-size: 16px;
  line-height: 1.75;
  color: var(--zgr-gray);
}

.zgr-newsletter-page__shortcode .all {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
}

.zgr-newsletter-page__shortcode .all h4 {
  margin: 0 0 20px !important;
  text-align: left !important;
  font-family: var(--font-urbanist);
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zgr-black);
}

.zgr-newsletter-page__shortcode .all p {
  margin: 0 0 16px;
}

.zgr-newsletter-page__shortcode > p[style] {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f7f7f7;
  font-family: var(--font-urbanist);
  font-size: 14px;
}

.zgr-newsletter-page__shortcode .all input,
.zgr-newsletter-page__shortcode .all select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--zgr-light-gray);
  border-radius: 8px;
  background: var(--zgr-white);
  color: var(--zgr-black);
  font-family: var(--font-baskerville);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zgr-newsletter-page__shortcode .all input::placeholder {
  color: #9a9a9a;
}

.zgr-newsletter-page__shortcode .all input:focus,
.zgr-newsletter-page__shortcode .all select:focus {
  outline: none;
  border-color: var(--zgr-navy);
  box-shadow: 0 0 0 3px rgba(18, 43, 80, 0.08);
}

.zgr-newsletter-page__shortcode .all button {
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--zgr-navy);
  color: var(--zgr-white);
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.zgr-newsletter-page__shortcode .all button:hover {
  background: var(--zgr-navy);
  opacity: 0.92;
}

.zgr-tips-header {
  background: var(--zgr-white);
  border-bottom: 1px solid var(--zgr-light-gray);
}

.zgr-tips-header__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 15px 20px;
}

.zgr-tips-header__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-urbanist);
  font-size: .77em;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--zgr-navy);
  transition: all 0.1s ease;
}

.zgr-tips-header__back:hover {
  color: #456492;
  font-weight: 700;
}

.zgr-tips-page {
  flex: 1;
  padding: 64px 0 80px;
}

.zgr-tips-page__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

.zgr-tips-page__intro {
  margin: 0 0 32px;
  color: var(--zgr-black);
  font-family: var(--font-baskerville);
  font-size: 18px;
  line-height: 1.7;
}

.zgr-tips-page__header {
  margin-bottom: 48px;
}

.zgr-tips-page__title {
  margin: 0;
  color: var(--zgr-black);
  font-family: var(--font-tinos);
  font-size: 48px;
  line-height: 1.15;
}

.zgr-tips-page__section {
  margin-bottom: 24px;
}

.zgr-tips-page__section-title {
  margin: 0 0 16px;
  color: var(--zgr-black);
  font-family: var(--font-urbanist);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.zgr-tips-page__copy {
  margin: 0 0 24px;
  color: var(--zgr-black);
  font-family: var(--font-baskerville);
  font-size: 16px;
  line-height: 1.75;
}

.zgr-tips-page__copy p + p {
  margin-top: 16px;
}

.zgr-tips-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.zgr-tips-form__field {
  display: block;
}

.zgr-tips-form__label {
  display: block;
  margin-bottom: 8px;
  color: var(--zgr-black);
  font-family: var(--font-urbanist);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.zgr-tips-form__optional {
  color: var(--zgr-gray);
  font-weight: 400;
}

.zgr-tips-form__input,
.zgr-tips-form__textarea {
  width: 100%;
  color: var(--zgr-black);
  background: var(--zgr-white);
  border: 2px solid var(--zgr-black);
  border-radius: 0;
  padding: 12px 16px;
  font-family: var(--font-baskerville);
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s ease;
}

.zgr-tips-form__input {
  max-width: 32rem;
}

.zgr-tips-form__textarea {
  min-height: 260px;
  resize: none;
}

.zgr-tips-form__input:focus,
.zgr-tips-form__textarea:focus {
  outline: none;
  border-color: var(--zgr-navy);
}

.zgr-tips-form__submit {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--zgr-navy);
  color: var(--zgr-white);
  padding: 16px 24px;
  font-family: var(--font-urbanist);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.zgr-tips-form__submit:hover {
  opacity: 0.9;
}

.zgr-archive {
  padding: 48px var(--zgr-page-pad) 80px;
  max-width: var(--zgr-max-width);
  margin: 0 auto;
}

.zgr-archive__header {
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--zgr-navy);
}

.zgr-archive__title {
  font-family: var(--font-tinos);
  font-size: 36px;
  line-height: 44px;
  color: var(--zgr-black);
  margin-bottom: 8px;
}

.zgr-archive__description {
  font-family: var(--font-baskerville);
  font-size: 16px;
  color: var(--zgr-gray);
}

.zgr-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.zgr-archive-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zgr-archive-card__image {
  width: 100%;
  aspect-ratio: 464 / 224;
  border-radius: var(--zgr-radius);
  overflow: hidden;
}

.zgr-archive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.zgr-archive-card:hover .zgr-archive-card__image img {
  transform: scale(1.04);
}

.zgr-archive-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zgr-archive-card__title {
  font-family: var(--font-tinos);
  font-size: 22px;
  line-height: 28.6px;
  color: var(--zgr-black);
}

.zgr-archive-card__title a:hover {
  color: var(--zgr-navy);
}

.zgr-archive-card__excerpt {
  font-family: var(--font-baskerville);
  font-size: 15px;
  line-height: 24px;
  color: var(--zgr-gray);
}

.zgr-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.zgr-pagination a,
.zgr-pagination span {
  font-family: var(--font-urbanist);
  font-size: 14px;
  font-weight: 600;
  color: var(--zgr-navy);
  border: 1px solid var(--zgr-light-gray);
  padding: 8px 14px;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s;
}

.zgr-pagination .current {
  background: var(--zgr-navy);
  color: var(--zgr-white);
  border-color: var(--zgr-navy);
}

.zgr-pagination a:hover {
  background: var(--zgr-light-gray);
  border-color: var(--zgr-light-gray);
}

.zgr-no-posts {
  text-align: center;
  padding: 80px 24px;
}

.zgr-no-posts h2 {
  font-family: var(--font-tinos);
  font-size: 28px;
  margin-bottom: 16px;
}

.zgr-no-posts p {
  font-family: var(--font-baskerville);
  font-size: 16px;
  color: var(--zgr-gray);
}

.zgr-search-form {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
}

.zgr-search-form input[type="search"] {
  flex: 1;
  font-family: var(--font-baskerville);
  font-size: 16px;
  padding: 14px 20px;
  border: 2px solid var(--zgr-navy);
  border-right: none;
  outline: none;
}

.zgr-search-form button {
  background: var(--zgr-navy);
  color: var(--zgr-white);
  font-family: var(--font-urbanist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 2px solid var(--zgr-navy);
  cursor: pointer;
}

.zgr-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.zgr-404__code {
  font-family: var(--font-tinos);
  font-size: 80px;
  font-weight: 700;
  color: var(--zgr-light-gray);
  line-height: 1;
  margin-bottom: 16px;
}

.zgr-404__title {
  font-family: var(--font-tinos);
  font-size: 32px;
  color: var(--zgr-black);
  margin-bottom: 16px;
}

.zgr-404__text {
  margin-bottom: 32px;
  max-width: 440px;
  text-align: center;
}

.zgr-404__link {
  display: inline-block;
}

@media (max-width: 960px) {
  .zgr-archive__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .zgr-archive__grid {
    grid-template-columns: 1fr;
  }

  .zgr-single-post {
    padding-bottom: 60px;
  }

  .zgr-single-post__inner {
    padding: 32px 16px 0;
  }

  .zgr-hero-attribution {
    padding: 0 16px;
  }

  .zgr-single-post__title {
    font-size: 28px;
    line-height: 36px;
  }

  .zgr-newsletter-page {
    padding: 40px 0 64px;
  }

  .zgr-newsletter-page__inner {
    padding: 0 16px;
  }

  .zgr-newsletter-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .zgr-newsletter-page__title {
    font-size: 38px;
  }

  .zgr-newsletter-page__benefits {
    grid-template-columns: 1fr;
  }

  .zgr-newsletter-page__form-shell {
    position: static;
  }

  .zgr-newsletter-page__form-card {
    padding: 24px 20px;
  }

  .zgr-tips-header__inner {
    padding: 18px 16px;
  }

  .zgr-tips-page {
    padding: 40px 0 60px;
  }

  .zgr-tips-page__inner {
    padding: 0 16px;
  }

  .zgr-tips-page__intro {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .zgr-tips-page__header {
    margin-bottom: 36px;
  }

  .zgr-tips-page__title {
    font-size: 36px;
    line-height: 1.2;
  }

  .zgr-tips-form__textarea {
    min-height: 220px;
  }

  .zgr-newsletter-page__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .zgr-newsletter-page__lead {
    font-size: 16px;
  }

  .zgr-single-hero__image {
    min-height: 280px;
  }

  .zgr-image-meta {
    top: 16px;
    right: 16px;
    width: calc(100% - 32px);
  }
}
