/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*
 * Sleek GeneratePress header styling.
 * Use in a child theme stylesheet, Customizer Additional CSS, or enqueue it.
 */

:root {
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-surface: #ffffff;
  --header-text: #17202a;
  --header-muted: #5b6472;
  --header-line: #e7ebef;
  --header-accent: #247a68;
  --header-accent-dark: #135f51;
  --header-warm: #f2b35e;
  --header-hover-bg: #edf7f3;
  --header-active-bg: #e7f5ef;
  --header-accent-soft: rgba(36, 122, 104, 0.11);
  --header-glass-line: rgba(255, 255, 255, 0.72);
  --header-shadow: 0 14px 38px rgba(24, 32, 42, 0.08);
  --header-logo-shadow: 0 8px 18px rgba(36, 122, 104, 0.22);
}

.site-header#masthead {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--header-glass-line) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-bar .site-header#masthead {
  top: 32px;
}

.site-header#masthead .inside-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header#masthead .site-branding {
  min-width: 0;
  flex: 0 1 auto;
}

.site-header#masthead .main-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header#masthead .main-title a {
  display: inline-flex;
  align-items: center;
  max-width: 360px;
  color: var(--header-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header#masthead .main-title a::before {
  content: "";
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--header-accent) 0%, var(--header-accent-dark) 58%),
    var(--header-surface);
  box-shadow: var(--header-logo-shadow);
  flex: 0 0 34px;
}

.site-header#masthead .main-navigation {
  background: transparent;
}

.site-header#masthead #site-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header#masthead .inside-navigation {
  min-height: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header#masthead .main-nav {
  min-width: 0;
}

.site-header#masthead .main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header#masthead .main-nav li {
  position: relative;
  margin: 0;
}

.site-header#masthead .main-nav a {
  position: relative;
  min-height: 42px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--header-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.site-header#masthead .main-nav a:hover,
.site-header#masthead .main-nav a:focus {
  color: var(--header-accent-dark);
  background: var(--header-hover-bg);
  text-decoration: none;
}

.site-header#masthead .main-nav .current-menu-item > a,
.site-header#masthead .main-nav .current_page_item > a {
  color: var(--header-accent-dark);
  background: var(--header-active-bg);
  box-shadow: 0 0 0 1px var(--header-accent-soft) inset;
}

.site-header#masthead .main-nav .current-menu-item > a::after,
.site-header#masthead .main-nav .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 8px;
  background: var(--header-warm);
}

.site-header#masthead .sub-menu {
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
  box-shadow: var(--header-shadow);
}

.site-header#masthead .sub-menu a {
  width: 100%;
  justify-content: flex-start;
}

.site-header#masthead .menu-toggle,
.site-header#masthead .mobile-menu-control-wrapper {
  display: none !important;
}

@media (max-width: 782px) {
  .admin-bar .site-header#masthead {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .site-header#masthead .inside-header {
    width: min(100% - 24px, 1180px);
    min-height: 66px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-header#masthead .main-title {
    font-size: 19px;
  }

  .site-header#masthead .main-title a {
    max-width: calc(100vw - 92px);
  }

  .site-header#masthead .main-title a::before {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    flex-basis: 30px;
  }

  .site-header#masthead .mobile-menu-control-wrapper {
    display: none !important;
    margin-left: auto;
  }

  .site-header#masthead #site-navigation {
    width: 100%;
    order: 4;
    flex: 0 0 100%;
  }

  .site-header#masthead .inside-navigation {
    width: 100%;
    display: block;
  }

  .site-header#masthead .main-nav {
    width: 100%;
  }

  .site-header#masthead .main-nav > ul {
    width: 100%;
    display: grid;
    gap: 6px;
    padding: 8px 0 12px;
  }

  .site-header#masthead .main-nav li,
  .site-header#masthead .main-nav a {
    width: 100%;
  }

  .site-header#masthead .main-nav a {
    min-height: 46px;
    justify-content: flex-start;
    padding: 12px 14px;
    background: var(--header-surface);
    border: 1px solid var(--header-line);
  }

  .site-header#masthead .main-nav .current-menu-item > a::after,
  .site-header#masthead .main-nav .current_page_item > a::after {
    left: 0;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 3px;
    height: auto;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header#masthead {
    top: 0;
  }
}

@media (max-width: 380px) {
  .site-header#masthead .inside-header {
    width: min(100% - 20px, 1180px);
  }

  .site-header#masthead .main-title {
    font-size: 17px;
  }
}

/*
 * Mobile-first home article section for the kitten age guide.
 * Uses the shared color variables from header-style.css.
 */

article#post-13 {
  background: linear-gradient(180deg, var(--header-surface), var(--header-hover-bg));
  color: var(--header-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

article#post-13 .inside-article {
  width: min(100% - 20px, 1080px);
  margin: 0 auto;
  padding: 34px 0 50px;
  background: transparent;
}

article#post-13 .entry-content {
  max-width: 940px;
  margin: 0 auto;
}

article#post-13 .entry-content > * {
  min-width: 0;
  overflow-wrap: break-word;
}

article#post-13 .entry-content > h2.wp-block-heading {
  position: relative;
  margin: 42px 0 13px;
  padding: 0 0 12px 15px;
  border-bottom: 1px solid var(--header-line);
  color: var(--header-text);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

article#post-13 .entry-content > h2.wp-block-heading:first-child {
  margin-top: 0;
}

article#post-13 .entry-content > h2.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 14px;
  width: 4px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--header-accent), var(--header-warm));
}

article#post-13 .entry-content > h3.wp-block-heading {
  margin: 24px 0 8px;
  color: var(--header-accent-dark);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

article#post-13 .entry-content > p {
  max-width: 840px;
  margin: 0 0 16px;
  color: var(--header-muted);
  font-size: 15px;
  line-height: 1.72;
}

article#post-13 .entry-content > h2.wp-block-heading + p {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.72;
}

article#post-13 .entry-content strong {
  color: var(--header-text);
  font-weight: 800;
}

article#post-13 .entry-content > p > strong:first-child {
  color: var(--header-accent-dark);
}

article#post-13 .entry-content > p:has(> strong:first-child) {
  max-width: none;
  padding: 13px 14px;
  border: 1px solid var(--header-line);
  border-left: 4px solid var(--header-accent);
  border-radius: 8px;
  background: var(--header-surface);
}

article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p,
article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p + p,
article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p + p + p {
  border-left-color: var(--header-warm);
  background: var(--header-active-bg);
}

article#post-13 .wp-block-table {
  width: 100%;
  margin: 20px 0 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

article#post-13 .wp-block-table table,
article#post-13 .wp-block-table thead,
article#post-13 .wp-block-table tbody,
article#post-13 .wp-block-table tr,
article#post-13 .wp-block-table th,
article#post-13 .wp-block-table td {
  display: block;
  width: 100%;
}

article#post-13 .wp-block-table table {
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

article#post-13 .wp-block-table thead {
  display: none;
}

article#post-13 .wp-block-table tr {
  margin: 0 0 12px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
  overflow: hidden;
}

article#post-13 .wp-block-table td {
  position: relative;
  padding: 11px 12px 11px 116px;
  border: 0;
  border-bottom: 1px solid var(--header-line);
  color: var(--header-muted);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.58;
}

article#post-13 .wp-block-table td:last-child {
  border-bottom: 0;
}

article#post-13 .wp-block-table td::before {
  display: block;
  position: absolute;
  left: 12px;
  top: 11px;
  width: 88px;
  color: var(--header-accent-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(1) td:nth-child(1)::before {
  content: "Age";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(1) td:nth-child(2)::before {
  content: "Signs";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(1) td:nth-child(3)::before {
  content: "Care";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(2) td:nth-child(1)::before {
  content: "Age";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(2) td:nth-child(2)::before {
  content: "Weight";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(2) td:nth-child(3)::before {
  content: "Notes";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(3) td:nth-child(1)::before {
  content: "Teeth";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(3) td:nth-child(2)::before {
  content: "Age";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(3) td:nth-child(3)::before {
  content: "Visible";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(4) td:nth-child(1)::before {
  content: "Stage";
}

article#post-13 .entry-content > figure.wp-block-table:nth-of-type(4) td:nth-child(2)::before {
  content: "Age";
}

article#post-13 .wp-block-table td:first-child {
  color: var(--header-text);
  font-weight: 800;
  background: var(--header-hover-bg);
}

article#post-13 .entry-content > h2.wp-block-heading:last-of-type ~ p {
  max-width: none;
  padding: 13px 14px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
}

@media (min-width: 640px) {
  article#post-13 .inside-article {
    width: min(100% - 28px, 1080px);
    padding: 44px 0 62px;
  }

  article#post-13 .entry-content > h2.wp-block-heading {
    font-size: 27px;
  }

  article#post-13 .entry-content > h3.wp-block-heading {
    font-size: 20px;
  }

  article#post-13 .entry-content > p,
  article#post-13 .entry-content > h2.wp-block-heading + p {
    font-size: 16px;
  }
}

@media (min-width: 860px) {
  article#post-13 .inside-article {
    width: min(1080px, calc(100% - 32px));
    padding: 62px 0 78px;
  }

  article#post-13 .entry-content > h2.wp-block-heading {
    margin-top: 58px;
    padding-left: 18px;
    font-size: 32px;
    line-height: 1.2;
  }

  article#post-13 .entry-content > h2.wp-block-heading::before {
    width: 5px;
  }

  article#post-13 .entry-content > h3.wp-block-heading {
    margin-top: 28px;
    font-size: 22px;
  }

  article#post-13 .entry-content > p {
    font-size: 17px;
    line-height: 1.78;
  }

  article#post-13 .entry-content > h2.wp-block-heading + p {
    font-size: 18px;
  }

  article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p,
  article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p + p,
  article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p + p + p {
    display: inline-block;
    width: calc(33.333% - 11px);
    min-height: 132px;
    vertical-align: top;
  }

  article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p,
  article#post-13 .entry-content > h2.wp-block-heading:first-child + p + p + p {
    margin-right: 12px;
  }

  article#post-13 .wp-block-table {
    margin: 26px 0 40px;
    border: 1px solid var(--header-line);
    border-radius: 8px;
    background: var(--header-surface);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  article#post-13 .wp-block-table table {
    display: table;
    min-width: 720px;
    border-collapse: collapse;
  }

  article#post-13 .wp-block-table thead {
    display: table-header-group;
  }

  article#post-13 .wp-block-table tbody {
    display: table-row-group;
  }

  article#post-13 .wp-block-table tr {
    display: table-row;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  article#post-13 .wp-block-table th,
  article#post-13 .wp-block-table td {
    display: table-cell;
    width: auto;
    padding: 15px 17px;
    border: 0;
    border-bottom: 1px solid var(--header-line);
    font-size: 15px;
  }

  article#post-13 .wp-block-table th {
    background: var(--header-active-bg);
    color: var(--header-accent-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  article#post-13 .wp-block-table td {
    color: var(--header-muted);
  }

  article#post-13 .wp-block-table td::before {
    display: none;
    content: none;
  }

  article#post-13 .wp-block-table td:first-child {
    width: 170px;
    background: transparent;
  }

  article#post-13 .wp-block-table tr:last-child td {
    border-bottom: 0;
  }

  article#post-13 .wp-block-table tbody tr:nth-child(even) td {
    background: var(--header-hover-bg);
  }

  article#post-13 .wp-block-table tbody tr:hover td {
    background: var(--header-active-bg);
  }
}

/*
 * Archive/card template styling.
 * Safe version: styles the existing GenerateBlocks layout without changing its grid structure.
 * Uses the shared color variables from header-style.css.
 */

.archive .page-header,
.blog .page-header,
.search .page-header {
  margin-bottom: 26px;
}

.archive .page-title,
.blog .page-title,
.search .page-title {
  margin: 0;
  color: var(--header-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.archive .taxonomy-description,
.search .page-header .entry-summary {
  max-width: 720px;
  margin-top: 10px;
  color: var(--header-muted);
  font-size: 15px;
  line-height: 1.7;
}

.gb-container-918d68ce {
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
}

.gb-grid-wrapper-ae18e4a9 {
  align-items: center;
}

.gb-grid-wrapper-ae18e4a9 > .gb-grid-column {
  min-width: 0;
}

.gb-container-ff15641f a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--header-hover-bg);
}

.gb-container-ff15641f img.dynamic-featured-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.gb-container-64596747 {
  min-width: 0;
}

.gb-container-ce3f6f48 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.gb-container-ce3f6f48 .gb-headline {
  margin: 0;
}

.dynamic-term-class .post-term-item {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-active-bg);
  color: var(--header-accent-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.gb-headline-6df4d39e,
.gb-headline-6df4d39e time {
  color: var(--header-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.gb-headline-84923e14 {
  margin: 0 0 10px;
  color: var(--header-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.gb-headline-84923e14 a {
  color: inherit;
  text-decoration: none;
}

.gb-headline-84923e14 a:hover,
.gb-headline-84923e14 a:focus {
  color: var(--header-accent-dark);
  text-decoration: none;
}

.dynamic-entry-excerpt p {
  margin: 0;
  color: var(--header-muted);
  font-size: 15px;
  line-height: 1.68;
}

.no-results,
.not-found {
  padding: 22px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
}

.no-results .page-title,
.not-found .page-title {
  color: var(--header-text);
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: 0;
}

.no-results p,
.not-found p {
  color: var(--header-muted);
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 700px) {
  .archive .page-title,
  .blog .page-title,
  .search .page-title {
    font-size: 38px;
  }

  .gb-container-918d68ce {
    padding: 18px;
  }

  .gb-headline-84923e14 {
    font-size: 30px;
  }

  .dynamic-entry-excerpt p {
    font-size: 16px;
  }
}

@media (min-width: 980px) {
  .gb-container-918d68ce {
    padding: 22px;
  }

  .gb-headline-84923e14 {
    font-size: 34px;
  }
}

/*
 * Right sidebar widget styling.
 * Covers search, recent posts, and recent comments widgets.
 * Uses the shared color variables from header-style.css.
 */

#right-sidebar.widget-area {
  min-width: 0;
}

#right-sidebar .inside-right-sidebar {
  display: grid;
  gap: 18px;
}

#right-sidebar .widget {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
}

#right-sidebar .widget h2,
#right-sidebar .wp-block-search__label {
  display: block;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--header-line);
  color: var(--header-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

#right-sidebar .wp-block-search__inside-wrapper {
  display: grid;
  gap: 10px;
}

#right-sidebar .wp-block-search__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-surface);
  color: var(--header-text);
  font: inherit;
  font-size: 15px;
  outline: none;
}

#right-sidebar .wp-block-search__input:focus {
  border-color: var(--header-accent);
  box-shadow: 0 0 0 3px var(--header-accent-soft);
}

#right-sidebar .wp-block-search__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--header-accent);
  border-radius: 8px;
  background: var(--header-accent);
  color: var(--header-surface);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

#right-sidebar .wp-block-search__button:hover,
#right-sidebar .wp-block-search__button:focus {
  border-color: var(--header-accent-dark);
  background: var(--header-accent-dark);
}

#right-sidebar ul,
#right-sidebar ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

#right-sidebar li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--header-line);
  color: var(--header-muted);
  font-size: 14px;
  line-height: 1.58;
}

#right-sidebar li:first-child {
  padding-top: 0;
}

#right-sidebar li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#right-sidebar a {
  color: var(--header-text);
  font-weight: 750;
  text-decoration: none;
}

#right-sidebar a:hover,
#right-sidebar a:focus {
  color: var(--header-accent-dark);
  text-decoration: none;
}

#right-sidebar .wp-block-latest-comments__comment {
  padding-left: 0;
}

#right-sidebar .wp-block-latest-comments__comment article,
#right-sidebar .wp-block-latest-comments__comment-meta {
  margin: 0;
}

#right-sidebar .wp-block-latest-comments__comment-author {
  color: var(--header-accent-dark);
}

#right-sidebar .wp-block-latest-comments__comment-link {
  display: inline;
}

@media (min-width: 769px) {
  #right-sidebar .inside-right-sidebar {
    position: sticky;
    top: 98px;
  }

  .admin-bar #right-sidebar .inside-right-sidebar {
    top: 130px;
  }
}

@media (max-width: 768px) {
  #right-sidebar.widget-area {
    margin-top: 28px;
  }

  #right-sidebar .widget {
    padding: 18px;
  }
}

/*
 * Single post article styling.
 * Covers featured image, title/meta, body typography, links, lists, tables, and footer meta.
 * Uses the shared color variables from header-style.css.
 */

.single-post article.post {
  color: var(--header-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

.single-post article.post .inside-article {
  width: min(900px, calc(100% - 20px));
  margin: 0 auto;
  padding: 34px 0 54px;
  background: transparent;
}

.single-post .featured-image.page-header-image-single {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--header-hover-bg);
}

.single-post .featured-image.page-header-image-single img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
}

.single-post .entry-header {
  max-width: 820px;
  margin: 0 auto 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--header-line);
}

.single-post .entry-title {
  margin: 0 0 12px;
  color: var(--header-text);
  font-size: 34px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.single-post .entry-meta {
  color: var(--header-muted);
  font-size: 14px;
  line-height: 1.6;
}

.single-post .entry-meta a {
  color: var(--header-accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.single-post .entry-meta a:hover,
.single-post .entry-meta a:focus {
  color: var(--header-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post .entry-content {
  max-width: 760px;
  margin: 0 auto;
}

.single-post .entry-content > * {
  min-width: 0;
  overflow-wrap: break-word;
}

.single-post .entry-content p {
  margin: 0 0 20px;
  color: var(--header-muted);
  font-size: 17px;
  line-height: 1.82;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
  color: var(--header-text);
  letter-spacing: 0;
}

.single-post .entry-content h2 {
  position: relative;
  margin: 46px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--header-line);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.24;
}

.single-post .entry-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 78px;
  height: 3px;
  border-radius: 8px;
  background: var(--header-accent);
}

.single-post .entry-content h3 {
  margin: 32px 0 12px;
  color: var(--header-accent-dark);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.single-post .entry-content h4 {
  margin: 26px 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.single-post .entry-content a {
  color: var(--header-accent-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-post .entry-content a:hover,
.single-post .entry-content a:focus {
  color: var(--header-text);
}

.single-post .entry-content strong {
  color: var(--header-text);
  font-weight: 800;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: var(--header-muted);
  font-size: 17px;
  line-height: 1.78;
}

.single-post .entry-content li {
  margin: 8px 0;
}

.single-post .entry-content blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--header-accent);
  border-radius: 8px;
  background: var(--header-hover-bg);
  color: var(--header-text);
}

.single-post .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post .entry-content figure {
  margin: 28px 0;
}

.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-post .entry-content figcaption {
  margin-top: 8px;
  color: var(--header-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.single-post .entry-content table {
  width: 100%;
  border: 1px solid var(--header-line);
  border-collapse: collapse;
  border-radius: 8px;
  background: var(--header-surface);
  overflow: hidden;
}

.single-post .entry-content th,
.single-post .entry-content td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--header-line);
  color: var(--header-muted);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.58;
}

.single-post .entry-content th {
  background: var(--header-active-bg);
  color: var(--header-accent-dark);
  font-weight: 800;
}

.single-post .inside-article > footer.entry-meta {
  max-width: 760px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--header-line);
}

.single-post .cat-links {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--header-muted);
}

.single-post .cat-links .gp-icon {
  color: var(--header-accent-dark);
}

.single-post .cat-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--header-active-bg);
  color: var(--header-accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (min-width: 640px) {
  .single-post article.post .inside-article {
    width: min(900px, calc(100% - 28px));
    padding: 46px 0 66px;
  }

  .single-post .entry-title {
    font-size: 44px;
  }

  .single-post .entry-content p,
  .single-post .entry-content ul,
  .single-post .entry-content ol {
    font-size: 18px;
  }
}

@media (min-width: 980px) {
  .single-post article.post .inside-article {
    padding: 58px 0 78px;
  }

  .single-post .entry-title {
    font-size: 52px;
  }
}

@media (max-width: 420px) {
  .single-post .entry-title {
    font-size: 30px;
  }

  .single-post .entry-content h2 {
    font-size: 25px;
  }

  .single-post .entry-content h3 {
    font-size: 21px;
  }
}
