/* =========================================
   DABBIES BLOG
   BLOG STYLES
========================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}


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


/* =========================================
   HEADER
========================================= */

.blog-header {
  width: 100%;
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6vw;

  border-bottom: 1px solid #e8e8e8;
}


.blog-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}


.blog-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}


.blog-nav a {
  font-size: 14px;
  color: #777777;
  transition: color 0.2s ease;
}


.blog-nav a:hover,
.blog-nav a.active {
  color: #111111;
}


/* =========================================
   HERO
========================================= */

.blog-hero {
  max-width: 1100px;
  margin: 0 auto;

  padding:
    110px 6vw
    80px;
}


.blog-eyebrow {
  display: block;

  margin-bottom: 22px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #777777;
}


.blog-hero h1 {
  max-width: 850px;

  font-size: clamp(
    48px,
    7vw,
    88px
  );

  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 700;
}


.blog-hero p {
  max-width: 600px;

  margin-top: 30px;

  font-size: 18px;
  line-height: 1.7;

  color: #666666;
}


/* =========================================
   FEATURED
========================================= */

.blog-featured {
  max-width: 1100px;
  margin: 0 auto;

  padding: 0 6vw;
}


.featured-blog {
  min-height: 360px;

  padding: 52px;

  background: #f5f5f5;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


.featured-blog .post-meta {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #777777;
}


.featured-blog h2 {
  max-width: 850px;

  font-size: clamp(
    34px,
    5vw,
    62px
  );

  line-height: 1.02;
  letter-spacing: -0.055em;
}


.featured-blog p {
  max-width: 650px;

  margin-top: 18px;

  font-size: 16px;
  color: #666666;
}


.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  margin-top: 28px;

  font-size: 14px;
  font-weight: 700;

  border-bottom: 1px solid #111111;
}


/* =========================================
   BLOG SECTION
========================================= */

.blog-section {
  max-width: 1100px;
  margin: 0 auto;

  padding:
    110px 6vw
    100px;
}


.section-heading {
  margin-bottom: 42px;
}


.section-heading > span {
  display: block;

  margin-bottom: 10px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;

  color: #888888;
}


.section-heading h2 {
  font-size: 38px;
  letter-spacing: -0.04em;
}


/* =========================================
   BLOG GRID
========================================= */

.blog-grid {
  display: grid;

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

  gap: 22px;
}


.blog-card {
  padding: 28px;

  min-height: 320px;

  border: 1px solid #e5e5e5;

  display: flex;
  flex-direction: column;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}


.blog-card:hover {
  transform: translateY(-4px);
  border-color: #111111;
}


.blog-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 55px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #888888;
}


.blog-card h3 {
  font-size: 27px;
  line-height: 1.08;

  letter-spacing: -0.04em;
}


.blog-card p {
  margin-top: 14px;

  color: #666666;

  font-size: 14px;
}


.blog-card a {
  margin-top: auto;
  padding-top: 28px;

  width: fit-content;

  font-size: 13px;
  font-weight: 700;

  border-bottom: 1px solid #111111;
}


/* =========================================
   LOADING
========================================= */

.blog-loading {
  color: #888888;

  font-size: 13px;

  padding: 40px 0;
}


/* =========================================
   FOOTER
========================================= */

.blog-footer {
  border-top: 1px solid #e8e8e8;

  padding:
    30px 6vw;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #777777;

  font-size: 12px;
}


.blog-footer div {
  display: flex;
  gap: 20px;
}


.blog-footer a:hover {
  color: #111111;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (
  max-width: 760px
) {

  .blog-header {
    padding: 0 5vw;
  }


  .blog-nav {
    gap: 15px;
  }


  .blog-nav a {
    font-size: 12px;
  }


  .blog-hero {
    padding:
      80px 5vw
      55px;
  }


  .blog-hero h1 {
    font-size: clamp(
      46px,
      14vw,
      68px
    );
  }


  .blog-hero p {
    font-size: 16px;
  }


  .blog-featured {
    padding: 0 5vw;
  }


  .featured-blog {
    min-height: 330px;

    padding: 30px;
  }


  .featured-blog h2 {
    font-size: 38px;
  }


  .blog-section {
    padding:
      80px 5vw
      70px;
  }


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


  .blog-footer {
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;

    padding: 28px 5vw;
  }

}

/* =========================================
   BLOG POST
========================================= */

.blog-post {
  max-width: 850px;
  margin: 0 auto;

  padding:
    100px 6vw
    120px;
}


/* =========================================
   POST HEADER
========================================= */

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 24px;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.12em;

  color: #777777;
}


.blog-post h1 {
  font-size: clamp(
    46px,
    7vw,
    82px
  );

  line-height: 0.98;

  letter-spacing: -0.065em;

  font-weight: 700;
}


.blog-post-excerpt {
  max-width: 700px;

  margin-top: 28px;

  font-size: 19px;

  line-height: 1.7;

  color: #666666;
}


.blog-post-author {
  margin-top: 24px;

  font-size: 13px;

  color: #777777;
}


/* =========================================
   COVER IMAGE
========================================= */

.blog-post-cover {
  display: block;

  width: 100%;

  max-height: 560px;

  object-fit: cover;

  margin-top: 55px;

  border-radius: 2px;
}


/* =========================================
   ARTICLE CONTENT
========================================= */

.blog-post-content {
  margin-top: 65px;

  font-size: 18px;

  line-height: 1.85;

  color: #222222;
}


.blog-post-content p {
  margin-bottom: 28px;
}


.blog-post-content h2 {
  margin-top: 65px;
  margin-bottom: 22px;

  font-size: 36px;

  line-height: 1.1;

  letter-spacing: -0.04em;
}


.blog-post-content h3 {
  margin-top: 48px;
  margin-bottom: 18px;

  font-size: 27px;

  line-height: 1.15;

  letter-spacing: -0.035em;
}


.blog-post-content strong {
  font-weight: 700;
}


.blog-post-content em {
  font-style: italic;
}


.blog-post-content a {
  text-decoration: underline;

  text-underline-offset: 3px;
}


.blog-post-content a:hover {
  opacity: 0.6;
}


/* =========================================
   ARTICLE IMAGES
========================================= */

.blog-post-content img {
  display: block;

  width: 100%;

  height: auto;

  margin: 45px 0;

  border-radius: 2px;
}


/* =========================================
   LISTS
========================================= */

.blog-post-content ul,
.blog-post-content ol {
  margin: 28px 0;

  padding-left: 28px;
}


.blog-post-content li {
  margin-bottom: 10px;
}


/* =========================================
   BLOCKQUOTE
========================================= */

.blog-post-content blockquote {
  margin: 45px 0;

  padding: 25px 30px;

  border-left: 3px solid #111111;

  font-size: 22px;

  line-height: 1.5;

  font-weight: 500;
}


/* =========================================
   DIVIDER
========================================= */

.blog-post-content hr {
  margin: 55px 0;

  border: 0;

  border-top: 1px solid #e5e5e5;
}


/* =========================================
   SHARING
========================================= */

.blog-post-actions {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 70px;

  padding-top: 30px;

  border-top: 1px solid #e5e5e5;
}


.blog-post-actions button {
  border: 1px solid #dddddd;

  background: #ffffff;

  color: #111111;

  padding: 11px 18px;

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}


.blog-post-actions button:hover {
  background: #111111;

  color: #ffffff;

  border-color: #111111;
}


/* =========================================
   MOBILE
========================================= */

@media (
  max-width: 760px
) {

  .blog-post {
    padding:
      70px 5vw
      80px;
  }


  .blog-post h1 {
    font-size: 48px;
  }


  .blog-post-excerpt {
    font-size: 17px;
  }


  .blog-post-content {
    margin-top: 45px;

    font-size: 17px;
  }


  .blog-post-content h2 {
    margin-top: 48px;

    font-size: 30px;
  }


  .blog-post-content h3 {
    font-size: 24px;
  }


  .blog-post-content blockquote {
    font-size: 19px;

    padding:
      20px 22px;
  }


  .blog-post-actions {
    flex-wrap: wrap;
  }

}