/*
Theme Name: J Reta Portfolio
Theme URI: https://example.com/j-reta-portfolio
Author: J. Reta
Author URI: https://example.com
Description: A vibrant personal portfolio for projects, weekly learning updates, and WordPress progress.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: j-reta-portfolio
Tags: blog, portfolio, one-column
*/

:root {
  --bg: #f7f4ee;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #201c1a;
  --muted: #6d625b;
  --line: rgba(32, 28, 26, 0.14);
  --accent: #007f79;
  --accent-2: #e8593d;
  --accent-3: #f2b84b;
  --accent-4: #3d67d8;
  --shadow: 0 24px 70px rgba(57, 42, 31, 0.16);
  --radius: 8px;
}

[data-theme="day"] {
  --bg: #f7f4ee;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #201c1a;
  --muted: #6d625b;
  --line: rgba(32, 28, 26, 0.14);
  --accent: #007f79;
  --accent-2: #e8593d;
  --accent-3: #f2b84b;
  --accent-4: #3d67d8;
  --shadow: 0 24px 70px rgba(57, 42, 31, 0.16);
}

[data-theme="night"],
body.night-mode {
  --bg: #101114;
  --surface: #171a20;
  --surface-strong: #20242c;
  --text: #f4efe7;
  --muted: #b9aea4;
  --line: rgba(244, 239, 231, 0.16);
  --accent: #19b7a9;
  --accent-2: #ff745b;
  --accent-3: #f8c85d;
  --accent-4: #8ea2ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(20px);
}

[data-theme="night"] .site-header,
body.night-mode .site-header {
  background: rgba(16, 17, 20, 0.9);
}

[data-theme="day"] .site-header {
  background: rgba(247, 244, 238, 0.88);
}

.nav-wrap,
.section-inner,
.hero-inner,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  background: var(--surface-strong);
  color: var(--text);
}

.theme-toggle,
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.theme-toggle:hover,
.lang-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: var(--surface-strong);
}

.theme-toggle:focus-visible,
.lang-toggle:focus-visible {
  outline: 3px solid rgba(25, 183, 169, 0.32);
  outline-offset: 3px;
}

.lang-toggle {
  min-width: 48px;
  color: var(--accent);
}

.theme-toggle {
  gap: 7px;
}

.theme-toggle::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, 0.18);
  content: "";
}

[data-theme="night"] .theme-toggle {
  background: var(--surface-strong);
  border-color: var(--accent-4);
}

[data-theme="night"] .theme-toggle::before {
  background: var(--accent-4);
  box-shadow: 0 0 0 4px rgba(142, 162, 255, 0.24);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 47%, rgba(247, 244, 238, 0) 47%),
    var(--hero-image, url("assets/hero-creative-site.png")) center right / cover no-repeat;
}

[data-theme="night"] .hero,
body.night-mode .hero {
  background: var(--hero-image, url("assets/hero-creative-site.png")) center right / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0) 47%, rgba(247, 244, 238, 0.1) 47%, rgba(247, 244, 238, 0.02) 100%);
  pointer-events: none;
}

[data-theme="night"] .hero::before,
body.night-mode .hero::before {
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.96) 0%, rgba(16, 17, 20, 0.82) 42%, rgba(16, 17, 20, 0.2) 78%);
}

[data-theme="day"] .hero::before {
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0) 47%, rgba(247, 244, 238, 0.1) 47%, rgba(247, 244, 238, 0.02) 100%);
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  padding: 86px 0 110px;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--accent-2);
  content: "";
}

.hero h1 {
  width: min(520px, 100%);
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  animation: rise-in 760ms ease 80ms both;
}

.hero p {
  width: min(520px, 100%);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  animation: rise-in 820ms ease 150ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: rise-in 860ms ease 220ms both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  border-color: var(--accent);
}

.section {
  padding: 78px 0;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, var(--bg) 0%, var(--bg) 56%, rgba(0, 127, 121, 0.08) 56%, rgba(232, 89, 61, 0.1) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

[data-theme="night"] .page-hero,
body.night-mode .page-hero {
  background:
    linear-gradient(135deg, var(--bg) 0%, var(--bg) 56%, rgba(25, 183, 169, 0.08) 56%, rgba(255, 116, 91, 0.1) 100%);
}

.section.alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-title p {
  width: min(420px, 100%);
  margin: 0;
  color: var(--muted);
}

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: rise-in 700ms ease both;
}

.card:nth-child(2) {
  animation-delay: 90ms;
}

.card:nth-child(3) {
  animation-delay: 180ms;
}

.card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--accent);
  content: "";
}

.card::after {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 116px;
  height: 116px;
  border: 22px solid rgba(0, 127, 121, 0.1);
  border-radius: 50%;
  content: "";
  z-index: -1;
}

.card:nth-child(2)::before {
  background: var(--accent-2);
}

.card:nth-child(2)::after {
  border-color: rgba(232, 89, 61, 0.12);
}

.card:nth-child(3)::before {
  background: var(--accent-3);
}

.card:nth-child(3)::after {
  border-color: rgba(242, 184, 75, 0.18);
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  box-shadow: 0 30px 75px rgba(57, 42, 31, 0.22);
}

.card h3 {
  margin: 6px 0 14px;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.card h3::before {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  content: "01";
}

.card:nth-child(2) h3::before {
  color: var(--accent-2);
  content: "02";
}

.card:nth-child(3) h3::before {
  color: var(--accent-3);
  content: "03";
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.post-body ul {
  padding-left: 20px;
}

.accent-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.profile-panel {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-left: 8px solid var(--accent-2);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  animation: rise-in 700ms ease both;
}

.profile-panel::after {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 54px;
  height: 54px;
  border: 12px solid rgba(232, 89, 61, 0.14);
  border-radius: 50%;
  content: "";
}

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

.stat {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  transition: transform 160ms ease, border-color 160ms ease;
  animation: rise-in 720ms ease both;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--accent-4);
}

.stat strong {
  display: block;
  color: var(--accent-4);
  font-size: 2rem;
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  animation: rise-in 760ms ease both;
}

.timeline-item time {
  color: var(--accent);
  font-weight: 850;
}

.post-body {
  width: min(760px, calc(100% - 32px));
  margin: 70px auto;
}

.post-body h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .nav-wrap,
  .section-title,
  .accent-strip {
    align-items: start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: start;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, var(--bg) 0%, var(--bg) 58%, rgba(247, 244, 238, 0) 58%),
      var(--hero-image, url("assets/hero-creative-site.png")) center bottom / cover no-repeat;
    padding-bottom: 260px;
  }

  .hero::before {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(247, 244, 238, 0) 58%, rgba(247, 244, 238, 0.08) 100%);
  }

  [data-theme="night"] .hero::before,
  body.night-mode .hero::before {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(16, 17, 20, 0.95) 0%, rgba(16, 17, 20, 0.84) 58%, rgba(16, 17, 20, 0.18) 100%);
  }

  [data-theme="night"] .hero,
  body.night-mode .hero {
    background: var(--hero-image, url("assets/hero-creative-site.png")) center bottom / cover no-repeat;
  }

  [data-theme="day"] .hero::before {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(247, 244, 238, 0) 58%, rgba(247, 244, 238, 0.08) 100%);
  }

  .hero-inner {
    padding: 62px 0 0;
  }

  .grid,
  .accent-strip,
  .stats {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Blog templates */
.blog-hero,
.post-hero {
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 47%, rgba(247, 244, 238, 0) 47%),
    var(--hero-image, url("assets/hero-creative-site.png")) center right / cover no-repeat;
}

.post-hero {
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 47%, rgba(247, 244, 238, 0) 47%),
    var(--post-hero-image, var(--hero-image, url("assets/hero-creative-site.png"))) center right / cover no-repeat;
}

[data-theme="night"] .blog-hero,
body.night-mode .blog-hero {
  background: var(--hero-image, url("assets/hero-creative-site.png")) center right / cover no-repeat;
}

[data-theme="night"] .post-hero,
body.night-mode .post-hero {
  background: var(--post-hero-image, var(--hero-image, url("assets/hero-creative-site.png"))) center right / cover no-repeat;
}

.blog-hero::before,
.post-hero::before {
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0) 47%, rgba(247, 244, 238, 0.1) 47%, rgba(247, 244, 238, 0.02) 100%);
}

[data-theme="night"] .blog-hero::before,
body.night-mode .blog-hero::before,
[data-theme="night"] .post-hero::before,
body.night-mode .post-hero::before {
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.96) 0%, rgba(16, 17, 20, 0.82) 42%, rgba(16, 17, 20, 0.2) 78%);
}

.blog-list-hero {
  min-height: 420px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, var(--bg) 0%, var(--bg) 58%, rgba(0, 127, 121, 0.08) 58%, rgba(232, 89, 61, 0.1) 100%);
}

[data-theme="night"] .blog-list-hero,
body.night-mode .blog-list-hero {
  background:
    linear-gradient(135deg, var(--bg) 0%, var(--bg) 58%, rgba(25, 183, 169, 0.08) 58%, rgba(255, 116, 91, 0.1) 100%);
}

.blog-list-hero h1,
.single-post-hero h1 {
  width: min(860px, 100%);
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.blog-list-hero p:not(.eyebrow),
.archive-description,
.single-post-hero .post-meta {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: rise-in 700ms ease both;
}

.blog-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  box-shadow: 0 30px 75px rgba(57, 42, 31, 0.22);
}

.blog-card-image {
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 127, 121, 0.2), rgba(232, 89, 61, 0.16)),
    var(--surface);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.blog-card-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 850;
}

.blog-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.blog-card-excerpt {
  color: var(--muted);
}

.blog-card-excerpt p {
  margin: 0 0 18px;
}

.blog-pagination {
  margin-top: 36px;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 850;
}

.single-post-hero {
  padding: 92px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-post-meta {
  width: min(560px, 100%);
  margin-top: 24px;
}

.single-featured-image {
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.single-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.single-post-content {
  width: min(780px, calc(100% - 32px));
  margin: 52px auto 86px;
  padding: 38px;
  border: 1px solid var(--line);
  border-top: 7px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 1.08rem;
}

.single-post-content p,
.single-post-content li {
  color: var(--muted);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  margin-top: 1.7em;
  line-height: 1.08;
}

.single-post-content img {
  border-radius: var(--radius);
}

.single-post-content blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 6px solid var(--accent-2);
  background: var(--surface-strong);
  color: var(--text);
}

.single-post-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.post-tags a,
.post-tags span {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-list-hero,
  .single-post-hero {
    min-height: auto;
    padding: 62px 0;
  }

  .blog-hero,
  .post-hero {
    background:
      linear-gradient(180deg, var(--bg) 0%, var(--bg) 58%, rgba(247, 244, 238, 0) 58%),
      var(--hero-image, url("assets/hero-creative-site.png")) center bottom / cover no-repeat;
    padding-bottom: 260px;
  }

  .post-hero {
    background:
      linear-gradient(180deg, var(--bg) 0%, var(--bg) 58%, rgba(247, 244, 238, 0) 58%),
      var(--post-hero-image, var(--hero-image, url("assets/hero-creative-site.png"))) center bottom / cover no-repeat;
  }

  [data-theme="night"] .blog-hero,
  body.night-mode .blog-hero {
    background: var(--hero-image, url("assets/hero-creative-site.png")) center bottom / cover no-repeat;
  }

  [data-theme="night"] .post-hero,
  body.night-mode .post-hero {
    background: var(--post-hero-image, var(--hero-image, url("assets/hero-creative-site.png"))) center bottom / cover no-repeat;
  }

  .blog-hero::before,
  .post-hero::before {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0) 58%, rgba(247, 244, 238, 0.08) 100%);
  }

  [data-theme="night"] .blog-hero::before,
  body.night-mode .blog-hero::before,
  [data-theme="night"] .post-hero::before,
  body.night-mode .post-hero::before {
    background: linear-gradient(180deg, rgba(16, 17, 20, 0.95) 0%, rgba(16, 17, 20, 0.84) 58%, rgba(16, 17, 20, 0.18) 100%);
  }

  .blog-card-image img {
    height: 210px;
  }

  .single-post-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .single-post-content {
    padding: 26px;
  }
}
