/*
Theme Name: The Garden Club
Theme URI: https://thegardenclub.example
Author: The Garden Club
Author URI: https://thegardenclub.example
Description: Full Site Editing (FSE) block theme based on The Garden Club Figma design.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-garden-club
Tags: blog, full-site-editing, block-patterns, custom-colors, custom-logo, editor-style
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --wp--preset--color--mustard-honey: #c0ac37;
  --wp--preset--color--midnight-terpene: #2c0b0a;
  --wp--preset--color--cloud-cream: #f0f0f4;
  --wp--preset--color--baked-berry: #b74170;
  --wp--preset--color--cherry-flame: #dc3324;
  --wp--preset--color--rose-resin: #ddae8d;
  --wp--preset--color--parchment: #fdf6e3;
  --wp--preset--color--card-border: #e8d5b7;
  --wp--preset--color--footer-copy: #deb887;
  --tgc-heading-font: "DM Serif Display", Georgia, serif;
  --tgc-body-font: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body,
.editor-styles-wrapper {
  font-family: var(--tgc-body-font);
}

.wp-site-blocks {
  background: var(--wp--preset--color--midnight-terpene);
}

.tgc-header {
  border-bottom: 2px solid var(--wp--preset--color--rose-resin);
}

.tgc-header .wp-block-site-logo img,
.tgc-footer-logo img {
  height: auto;
  width: auto;
}

.tgc-main-nav .wp-block-navigation-item__content {
  border-radius: 999px;
  color: var(--wp--preset--color--rose-resin);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 8px 24px;
  text-decoration: none;
}

.tgc-main-nav .current-menu-item > .wp-block-navigation-item__content,
.tgc-main-nav .wp-block-navigation-item__content:hover,
.tgc-main-nav .wp-block-navigation-item__content:focus {
  background: var(--wp--preset--color--rose-resin);
  color: var(--wp--preset--color--parchment);
}

.tgc-blog-title {
  color: var(--wp--preset--color--mustard-honey);
  font-family: var(--tgc-heading-font);
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-align: center;
}

.tgc-post-grid {
  margin-top: 0;
}

.tgc-post-grid .wp-block-post-template {
  gap: 20px;
}

.tgc-post-card {
  background: var(--wp--preset--color--parchment);
  border: 2px solid var(--wp--preset--color--card-border);
  border-radius: 24px;
  overflow: hidden;
}

.tgc-post-card__media-wrap {
  background: var(--wp--preset--color--rose-resin);
  min-height: 241px;
  position: relative;
}

.tgc-post-card__media-wrap .wp-block-post-featured-image,
.tgc-post-card__media-wrap .wp-block-post-featured-image a,
.tgc-post-card__media-wrap .wp-block-post-featured-image img {
  display: block;
  height: 241px;
  margin: 0;
  object-fit: cover;
  width: 100%;
}

.tgc-post-card__media-wrap .wp-block-post-featured-image {
  margin-bottom: 0;
}

.tgc-post-card__placeholder {
  align-items: center;
  display: flex;
  height: 241px;
  justify-content: center;
}

.tgc-post-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 407px;
  padding: 24px;
}

.tgc-post-card .wp-block-post-title {
  color: var(--wp--preset--color--midnight-terpene);
  font-family: var(--tgc-body-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  margin: 0;
}

.tgc-post-card .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.tgc-post-card .wp-block-post-title a:hover,
.tgc-post-card .wp-block-post-title a:focus {
  text-decoration: underline;
}

.tgc-post-card .wp-block-post-terms,
.tgc-post-card .wp-block-post-terms a {
  color: var(--wp--preset--color--baked-berry);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.tgc-post-card .wp-block-post-excerpt {
  color: var(--wp--preset--color--midnight-terpene);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
}

.tgc-post-card .wp-block-post-excerpt__excerpt {
  margin: 0;
}

.tgc-post-card .wp-block-post-date {
  color: var(--wp--preset--color--midnight-terpene);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}

.tgc-read-more.wp-block-read-more {
  background: var(--wp--preset--color--baked-berry);
  border-radius: 999px;
  color: var(--wp--preset--color--cloud-cream);
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 8px 22px;
  text-decoration: none;
}

.tgc-read-more.wp-block-read-more:hover,
.tgc-read-more.wp-block-read-more:focus {
  filter: brightness(0.94);
}

.tgc-contact {
  background: var(--wp--preset--color--rose-resin);
  padding: 80px 24px;
}

.tgc-contact__title {
  color: var(--wp--preset--color--cherry-flame);
  font-family: var(--tgc-heading-font);
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
  text-align: center;
}

.tgc-contact__subtitle {
  color: var(--wp--preset--color--cherry-flame);
  font-family: var(--tgc-heading-font);
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  text-align: center;
}

.tgc-signup-form {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  max-width: 512px;
}

.tgc-signup-form input[type="email"] {
  background: var(--wp--preset--color--cloud-cream);
  border: 0;
  border-radius: 999px;
  color: #6b5c44;
  flex: 1 1 auto;
  font-family: var(--tgc-body-font);
  font-size: 16px;
  height: 56px;
  padding: 16px 24px;
}

.tgc-signup-form button {
  background: var(--wp--preset--color--midnight-terpene);
  border: 0;
  border-radius: 999px;
  color: var(--wp--preset--color--parchment);
  cursor: pointer;
  font-family: var(--tgc-body-font);
  font-size: 16px;
  font-weight: 500;
  height: 56px;
  min-width: 133px;
  padding: 16px 24px;
}

.tgc-signup-form button:hover,
.tgc-signup-form button:focus {
  filter: brightness(1.1);
}

.tgc-footer {
  background: var(--wp--preset--color--midnight-terpene);
  color: var(--wp--preset--color--footer-copy);
}

.tgc-footer .wp-block-heading {
  color: var(--wp--preset--color--mustard-honey);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.tgc-footer,
.tgc-footer p,
.tgc-footer a,
.tgc-footer li {
  color: var(--wp--preset--color--footer-copy);
  font-size: 14px;
  line-height: 20px;
}

.tgc-footer a {
  text-decoration: none;
}

.tgc-footer a:hover,
.tgc-footer a:focus {
  color: var(--wp--preset--color--cloud-cream);
}

.tgc-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tgc-footer-list li {
  margin: 0 0 8px;
}

.tgc-social-list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tgc-social-list a {
  align-items: center;
  background: var(--wp--preset--color--baked-berry);
  border-radius: 999px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.tgc-footer-legal {
  border-top: 1px solid #6b5c44;
  margin-top: 48px;
  padding-top: 17px;
}

@media (max-width: 1080px) {
  .tgc-main-nav .wp-block-navigation__container {
    gap: 4px;
  }

  .tgc-main-nav .wp-block-navigation-item__content {
    padding: 8px 14px;
  }

  .tgc-post-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 781px) {
  .tgc-signup-form {
    flex-direction: column;
  }

  .tgc-signup-form button,
  .tgc-signup-form input[type="email"] {
    width: 100%;
  }

  .tgc-header .wp-block-group {
    gap: 16px;
  }
}
