/*
Theme Name: Girlfriend Social Blog
Theme URI: https://www.girlfriendsocial.com/blog/
Author: Girlfriend Social
Description: Minimal Girlfriend Social blog theme for posts, archives, search, and single articles.
Version: 1.0.0
License: Proprietary
Text Domain: girlfriendsocial-blog
*/

:root {
  --gfs-ink: #171317;
  --gfs-text: #23201f;
  --gfs-muted: #6d6268;
  --gfs-line: #ece8e5;
  --gfs-berry: #c92b86;
  --gfs-berry-dark: #9e1f68;
  --gfs-blush: #fff5fa;
  --gfs-cream: #fbf8f5;
  --gfs-heading: "Bricolage Grotesque", Inter, Arial, sans-serif;
  --gfs-body: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  background: #f2f0ee;
}

body {
  margin: 0;
  background: #f2f0ee;
  color: var(--gfs-text);
  font-family: var(--gfs-body);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--gfs-berry);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.gfs-page {
  width: min(100% - 48px, 1540px);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  overflow-x: hidden;
}

.gfs-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 0 clamp(28px, 5vw, 78px);
  border-bottom: 1px solid var(--gfs-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.gfs-nav a,
.gfs-footer a {
  color: var(--gfs-ink);
  text-decoration: none;
}

.gfs-nav-links,
.gfs-nav-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.gfs-nav-actions {
  justify-content: flex-end;
  gap: 14px;
}

.gfs-nav a {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.15;
}

.gfs-nav .is-active {
  color: var(--gfs-berry);
}

.gfs-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gfs-logo img {
  display: block;
  width: auto;
  height: 96px;
  max-width: 340px;
  object-fit: contain;
}

.gfs-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gfs-ink);
  background: #fff;
  color: var(--gfs-ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.gfs-button-primary {
  border-color: var(--gfs-berry);
  background: var(--gfs-berry);
  color: #fff !important;
}

.gfs-site-header .gfs-topic-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px clamp(22px, 5vw, 78px);
  border-bottom: 1px solid var(--gfs-line);
  background: var(--gfs-cream);
}

.gfs-site-header .gfs-topic-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #ead3df;
  background: #fff;
  color: var(--gfs-ink) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  text-underline-offset: 0;
}

.gfs-site-header .gfs-topic-nav a:hover {
  border-color: var(--gfs-berry);
  color: var(--gfs-berry) !important;
}

.gfs-blog-hero {
  padding: clamp(54px, 8vw, 104px) clamp(28px, 6vw, 86px);
  border-bottom: 1px solid var(--gfs-line);
  background: linear-gradient(135deg, #fff 0%, #fff7fb 58%, #fbf8f5 100%);
}

.gfs-eyebrow {
  margin: 0 0 16px;
  color: var(--gfs-berry-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #000;
  font-family: var(--gfs-heading);
  font-weight: 850;
  letter-spacing: 0;
}

.gfs-blog-hero h1 {
  max-width: 880px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.02;
}

.gfs-blog-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 19px;
  line-height: 1.65;
}

.gfs-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(42px, 7vw, 86px) clamp(28px, 6vw, 86px);
}

.gfs-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.gfs-post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid #ded7d2;
  background: #fff;
  color: var(--gfs-ink);
  text-decoration: none;
}

.gfs-post-card:hover {
  border-color: var(--gfs-berry);
}

.gfs-post-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gfs-cream);
}

.gfs-post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gfs-post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.gfs-post-meta {
  margin: 0 0 12px;
  color: var(--gfs-berry-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gfs-post-card h2 {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.08;
}

.gfs-post-card p {
  margin: 16px 0 0;
  color: var(--gfs-text);
  font-size: 16px;
  line-height: 1.62;
}

.gfs-read-more {
  margin-top: auto;
  padding-top: 24px;
  color: var(--gfs-berry);
  font-weight: 800;
}

.gfs-sidebar {
  align-self: start;
}

.gfs-widget {
  margin: 0 0 28px;
  padding: 26px;
  border: 1px solid #ead3df;
  background: var(--gfs-blush);
}

.gfs-widget h2,
.gfs-widget h3 {
  font-size: 28px;
  line-height: 1.12;
}

.gfs-widget p,
.gfs-widget li {
  font-size: 15px;
  line-height: 1.62;
}

.gfs-widget p {
  margin: 14px 0 0;
}

.gfs-widget ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.gfs-widget li + li {
  margin-top: 10px;
}

.gfs-search-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.gfs-search-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #d8d1cc;
  color: #000;
  font: 500 15px/1 var(--gfs-body);
}

.gfs-search-form button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--gfs-berry);
  background: var(--gfs-berry);
  color: #fff;
  font: 800 14px/1 var(--gfs-body);
}

.gfs-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.gfs-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d1cc;
  color: var(--gfs-ink);
  font-weight: 800;
  text-decoration: none;
}

.gfs-pagination .current {
  border-color: var(--gfs-berry);
  background: var(--gfs-berry);
  color: #fff;
}

.gfs-article {
  max-width: 860px;
}

.gfs-article-header {
  margin-bottom: 34px;
}

.gfs-article h1 {
  max-width: 960px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
}

.gfs-article-featured {
  margin: 30px 0 0;
  border: 1px solid #ded7d2;
  background: var(--gfs-cream);
}

.gfs-article-featured img {
  display: block;
  width: 100%;
  height: auto;
}

.gfs-article-body {
  color: var(--gfs-text);
  font-size: 18px;
  line-height: 1.78;
}

.gfs-article-body p,
.gfs-article-body ul,
.gfs-article-body ol,
.gfs-article-body blockquote {
  margin-top: 0;
  margin-bottom: 24px;
}

.gfs-article-body h2 {
  margin: 42px 0 16px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.1;
}

.gfs-article-body h3 {
  margin: 34px 0 14px;
  font-size: 28px;
  line-height: 1.14;
}

.gfs-article-body img {
  height: auto;
}

.gfs-author-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  margin-top: 54px;
  padding: 28px;
  border: 1px solid #ead3df;
  background: var(--gfs-blush);
}

.gfs-author-avatar img {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.gfs-author-box h2 {
  font-size: 30px;
  line-height: 1.12;
}

.gfs-author-box p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.62;
}

.gfs-author-box a {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 800;
}

.gfs-comments {
  max-width: 860px;
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--gfs-line);
}

.gfs-comments h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
}

.gfs-comment-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.gfs-comment-list .comment {
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid #ded7d2;
  background: #fff;
}

.gfs-comment-list .children {
  margin: 18px 0 0 26px;
  padding: 0;
  list-style: none;
}

.gfs-comment-list .avatar {
  float: left;
  width: 52px;
  height: 52px;
  margin: 0 14px 10px 0;
  border-radius: 50%;
}

.gfs-comment-list .comment-meta,
.gfs-comment-list .comment-metadata {
  color: var(--gfs-muted);
  font-size: 13px;
  line-height: 1.45;
}

.gfs-comment-list .comment-content {
  clear: both;
  color: var(--gfs-text);
  font-size: 16px;
  line-height: 1.68;
}

.gfs-comment-form {
  margin-top: 28px;
}

.gfs-comment-form p {
  margin: 0 0 16px;
}

.gfs-comment-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--gfs-ink);
  font-size: 14px;
  font-weight: 800;
}

.gfs-comment-form input[type="text"],
.gfs-comment-form input[type="email"],
.gfs-comment-form input[type="url"],
.gfs-comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8d1cc;
  color: #000;
  font: 500 16px/1.4 var(--gfs-body);
}

.gfs-comment-form textarea {
  min-height: 150px;
}

.gfs-comment-form input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gfs-berry);
  background: var(--gfs-berry);
  color: #fff;
  font: 800 15px/1 var(--gfs-body);
  cursor: pointer;
}

.gfs-footer {
  border-top: 1px solid var(--gfs-line);
  background: #fff;
}

.gfs-footer-main {
  padding: 46px clamp(34px, 6vw, 86px) 36px;
}

.gfs-footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.gfs-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.gfs-footer-logo img {
  display: block;
  width: 190px;
  height: auto;
}

.gfs-footer-nav a {
  font-size: 15px;
  font-weight: 750;
}

.gfs-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--gfs-ink);
  color: var(--gfs-text);
  font-size: 14px;
}

.gfs-footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .gfs-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .gfs-nav {
    grid-template-columns: 1fr auto;
    min-height: 82px;
    padding: 0 22px;
  }

  .gfs-nav-links {
    display: none;
  }

  .gfs-logo {
    justify-self: start;
  }

  .gfs-logo img {
    height: 64px;
    max-width: 210px;
  }

  .gfs-footer-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .gfs-page {
    width: 100%;
  }

  .gfs-site-header .gfs-topic-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 22px;
    padding-right: 22px;
  }

  .gfs-site-header .gfs-topic-nav a {
    white-space: nowrap;
  }

  .gfs-post-grid,
  .gfs-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .gfs-nav {
    min-height: 72px;
  }

  .gfs-logo img {
    height: 54px;
    max-width: 170px;
  }

  .gfs-nav-actions .gfs-login {
    display: none;
  }

  .gfs-button {
    min-height: 44px;
    padding: 0 18px;
  }

  .gfs-author-box {
    grid-template-columns: 1fr;
  }

  .gfs-blog-hero,
  .gfs-content {
    padding-left: 22px;
    padding-right: 22px;
  }
}
