#gnpub-gnfollow-shortcode-wrapper a{text-decoration:none;color:#000;border:1px solid #c6d2d9;padding:7px 15px 3px 16px;line-height:1;height:40px;vertical-align:middle;position:absolute}#gnpub-gnfollow-shortcode-wrapper a:focus{box-shadow:none}#gnpub-gnfollow-shortcode-wrapper img{width:120px;position:relative;top:9px;left:5px}#gnpub-gnfollow-shortcode-wrapper a:hover{border:1px solid #000}#gnpub-gnfollow-shortcode-follow-text{font-weight:500;font-size:13px}/*
* 1.0 CSS Variables & Base Styles
***** 1.1 Variables
***** 1.2 Typography
***** 1.3 Layout
***** 1.4 Utilities
* 2.0 Header
***** 2.1 Level One
***** 2.2 Level Two
***** 2.3 Search
* 3.0 Components
***** 3.1 Posts Card
***** 3.2 Text List
***** 3.3 Thumb List
***** 3.0 Headings
* 4.0 Footer
*/

@font-face {font-display:swap;
  font-family: "Readex Pro";
  src: url("/wp-content/themes/sahafapro/assets/fonts/ReadexPro/ReadexPro.ttf") format("truetype");
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0);
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

:hover::-webkit-scrollbar-thumb,
:focus-within::-webkit-scrollbar-thumb {
  background: #fa7921;
}

/************** 1.0 CSS Variables & Base Styles **************/

/******* 1.1 Variables *******/
:root {
  /* Colors */
  --color-primary: #2132d4;
  --color-secondary: #FA7921;
  --color-text-primary: #333;
  --color-text-secondary: #666;
  --color-text-muted: #ccc;
  --color-background: #fff;
  --color-background-alt: #f8f8f8;
  --color-background-card: #fff;
  --color-border: #eee;
  --color-shadow: rgba(0, 0, 0, 0.1);
  --color-shadow-hover: rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-primary: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.9rem;
  --font-size-xxs: 0.7rem;
  --font-size-xs: 0.85rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.3rem;
  --line-height-base: 1.5;
  --line-height-relaxed: 1.7;
  --line-height-loose: 2;
  --font-weight-thin: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xxs: 0.3rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Layout */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 20px;
  --border-radius-full: 50%;

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-transform: transform 0.3s ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #4753c3;
    --color-text-primary: #e1e1e1;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #4a4a4a;
    --color-background: #0F111A;
    --color-background-alt: #181B24;
    --color-background-card: #1C1F2E;
    --color-border: #2a2a2a;
    --color-shadow: rgba(0, 0, 0, 0.3);
    --color-shadow-hover: rgba(0, 0, 0, 0.2);
  }

  .custom-logo {
    filter: brightness(0) invert(1);
  }
}

/******* 1.2 Typography *******/
body {
  margin: unset;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  color: var(--color-text-primary);
}

* {
  font-family: var(--font-primary);
}

a {
  text-decoration: none;
  color: var(--color-primary);
}

/******* 1.3 Layout *******/
#content {
  flex: 1 0 auto;
}

.container {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.header-container,
.footer-container {
  max-width: 63rem;
  margin: 0 auto;
  padding: 0 var(--spacing-xs);
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.col-one {
  flex: 1;
  min-width: 14rem;
}

.col-three {
  flex: 3;
  min-width: 20rem;
}

.col-three *, .col-one * {
    max-width: 100%;
}

.sidebar {
  position: sticky;
  top: 7rem;
}

/******* 1.4 Utilities *******/
/* Aspect Ratio Utilities */
.ratio {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ratio-medium {
  padding-top: 60%;
}

.ratio-square {
  padding-top: 100%;
}

.ratio img, .ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: var(--line-height-relaxed);
}

/************** 2.0 Header **************/
.site-header {
  background: var(--color-background-card);
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: var(--spacing-md);
  position: sticky;
  top: -1px;
  z-index: 2;
}

/******* 2.1 Level One *******/
.level-one {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.site-branding .custom-logo {
  width: 6rem;
  height: auto;
  margin: var(--spacing-xs);
  display: block;
}

/* Icon Styles */
.btn-none {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.svg-primary {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  padding: 0.4rem;
  color: var(--color-text-secondary);
}

.svg-secondary {
  display: block;
  width: 2rem;
  height: 2rem;
  padding: 0.4rem;
  color: var(--color-secondary);
}

.svg-social {
  display: block;
  margin: auto;
  width: 2.3rem;
  height: 2.3rem;
  padding: 0.4rem;
}

.svg-micro {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--color-text-secondary);
}

.muted {
  color: var(--color-text-muted);
}

/******* 2.2 Level Two *******/
.level-two {
  border-top: 1px solid var(--color-border);
}

.header-menu-container,
.footer-menu-container {
  position: relative;
  overflow: hidden;
}

.header-menu-container:after,
.footer-menu-container:after {
  background-image: linear-gradient(to right, var(--color-background-card), transparent);
  position: absolute;
  left: 0;
  top: 0;
  visibility: visible;
  pointer-events: none;
  height: 100%;
  width: 40px;
  content: "";
}

.site-header .menu li:last-child,
.site-footer .menu li:last-child {
  margin-left: 1.2rem;
}

.site-header .menu,
.site-footer .menu {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  padding: 0;
  margin: 0;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2px;
}

.site-header .menu::-webkit-scrollbar,
.site-footer .menu::-webkit-scrollbar {
  display: none;
}

.site-header .menu li,
.site-footer .menu li {
  position: relative;
  padding-bottom: 3px;
}

.site-header .menu a,
.site-footer .menu a {
  color: var(--color-text-primary);
  padding: var(--spacing-xs) 0;
  font-weight: var(--font-weight-medium);
  position: relative;
  transition: var(--transition-base);
  display: block;
}

.site-header .menu a:hover,
.site-footer .menu a:hover {
  color: var(--color-text-primary);
}

.site-header .menu li::after,
.site-footer .menu li::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: var(--transition-transform);
}

.site-header .menu li:hover::after,
.site-header .menu .current-menu-item::after,
.site-footer .menu li:hover::after,
.site-footer .menu .current-menu-item::after {
  transform: scaleX(1);
}

/******* 2.3 Search *******/
.search-container {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition-base);
  margin: 0 auto;
  width: 80%;
}

.search-container.active {
  max-height: 60px;
  opacity: 1;
  margin: 0 auto var(--spacing-xs) auto;
}

.search-input {
  width: 100%;
  padding: var(--spacing-xxs) var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-xs);
  font-weight: 300;
  outline: none;
  transition: var(--transition-base);
  background: var(--color-background-alt);
  color: var(--color-text-primary);
}

.search-input:focus {
  border-color: var(--color-text-muted);
  background: var(--color-background);
  box-shadow: 0 2px 8px var(--color-shadow);
}

/************** 3.0 Components **************/

/******* 3.0 Heading *******/
.heading-primary {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  position: relative;
  padding-bottom: 0.5rem;
}

.heading-primary::before {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: #fa792161;
}

.heading-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3rem;
  height: 0.2rem;
  background-color: #fa7921;
}

.heading-centered {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
}

.heading-centered::before {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 100%;
  height: 1px;
  background-color: #fa792161;
}

.heading-centered::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 7rem;
  height: 0.2rem;
  background-color: #fa7921;
}

/******* 3.1 Posts Card *******/
.post-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.post-card-item {
  background: var(--color-background-card);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 4px var(--color-shadow);
}

@keyframes fadeOutZoom {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

.post-card-item.removing {
  animation: fadeOutZoom 0.4s ease forwards;
}

.post-card-content {
  padding: var(--spacing-xs);
}

.post-card-title {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

.post-card-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/******* 3.1 Posts Card Overlay *******/

.overlay a.post-card-link {
  position: relative;
}

.overlay .post-card-content {
  padding: var(--spacing-xs);
  position: absolute;
  bottom: 0;
  background-color: #00000036;
  display: flex;
  align-items: end;
  height: -webkit-fill-available;
  width: -webkit-fill-available;
}

.cat-primary {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.8rem 0.5rem;
  background: #1e1e1e9c;
  color: white;
  border-bottom-left-radius: 5px;
  font-size: var(--font-size-xxs);
  font-weight: 300;
  line-height: 0;
}

.image-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: var(--spacing-xxs);
  background: #1e1e1e9c;
  color: white;
  border-top-left-radius: 5px;
  font-size: var(--font-size-xxs);
  font-weight: 300;
  align-items: center;
  display: flex;
  gap: var(--spacing-xxs);
}

/*** 3.1.1 Bookmark Button ***/
.active svg {
  color: var(--color-primary);
}

/*** 3.1.2 Bookmarks Page ***/
.bookmarks-page .page-title {
  margin: var(--spacing-xl) 0;
  text-align: center;
  color: var(--color-text-primary);
}

.no-bookmarks-message {
  text-align: center;
  padding: var(--spacing-2xl) 0;
  color: var(--color-text-secondary);
}

.loading-indicator {
  text-align: center;
  padding: var(--spacing-xl) 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.bookmarks-page .post-card-grid {
  min-height: 200px;
}

/******* 3.2 Text List *******/
.text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.text-list-item {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.text-list-item:last-child {
  border-bottom: none;
}

.text-list-item .category {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  background: var(--color-background-alt);
  padding: 2px var(--spacing-xs);
  border-radius: var(--border-radius-sm);
  margin-right: var(--spacing-xs);
}

.text-list-item .date {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.text-list-item .title {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
}

.text-list-item .title:hover {
  color: var(--color-text-primary);
}

.text-list-item .excerpt {
  margin-top: var(--spacing-xs);
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

/******* 3.3 Time Text List *******/
.time-text-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.time-text-item {
  display: flex;
  gap: var(--spacing-xs);
  align-items: baseline;
  padding-bottom: var(--spacing-md);
}

.time-text-item time {
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.time-text-item .title-wrapper {
  overflow: hidden;
  flex: 1;
  font-size: var(--font-size-base);
}

.time-text-item .title-text {
  white-space: nowrap;
  color: var(--color-text-primary);
  transition: transform 0.8s ease-out;
  display: inline-block;
}

.time-text-item .title-text:hover {
  color: var(--color-primary);
  transform: translateX(max(0px, calc(100% - 180px)));
  transition: transform 4s linear;
  transition-delay: 0.3s;
}

@media (min-width: 600px) {
  .home-one .col-one {
    position: relative;
    overflow: hidden;
  }

  .home-one .time-text-list {
    position: absolute;
  }
}

/******* 3.4 Thumb List *******/
.thumb-list {
  display: grid;
  gap: var(--spacing-lg);
}

.thumb-list .post-item {
  display: flex;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.thumb-list .post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.thumb-list .post-thumbnail {
  flex: 0 0 150px;
}

.thumb-list .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.thumb-list .post-content {
  flex: 1;
}

.thumb-list .post-category {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
}

.thumb-list .post-title {
  margin: 0 0 var(--spacing-xs) 0;
  font-size: var(--font-size-lg);
}

.thumb-list .post-title a {
  color: var(--color-text-primary);
}

.thumb-list .post-title a:hover {
  color: var(--color-text-primary);
}

.thumb-list .post-date {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  margin-bottom: var(--spacing-xs);
}

.thumb-list .post-excerpt {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
}

/************** 3.4 Single Post **************/
.single .entry-header {
  margin-bottom: var(--spacing-xl);
}

.entry-title {
  font-size: var(--font-size-xl);
  line-height: 1.3;
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-bold);
  border-right: 5px solid var(--color-secondary);
  padding-right: 0.8rem;
}

.entry-header .post-thumbnail {
  margin: var(--spacing-lg) 0;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px var(--color-shadow);
}

.single .post-meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.right-col {
  display: flex;
  gap: var(--spacing-md);
}

.left-col {
  display: flex;
}

.post-date,
.post-author {
  display: flex;
  gap: var(--spacing-xxs);
  align-items: center;
}

.post-author a {
    color: unset;
}

.post-author a:hover {
    color: var(--color-primary);
}

.entry-content {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-loose);
  margin-top: var(--spacing-xl);
}

.entry-content p {
  margin-bottom: var(--spacing-lg);
  margin-top: 0;
  text-align: justify;
}

.entry-content h2,
.entry-content h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  position: relative;
  padding-right: 20px;
}

.entry-content h2::after,
.entry-content h3::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--color-secondary);
}

.entry-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

.entry-content a {
  text-decoration: underline;
}

.entry-content blockquote {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  border-right: 4px solid var(--color-primary);
  background-color: var(--color-background-alt);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

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

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--spacing-md) 0;
}

.post-tag {
  background-color: var(--color-background-card);
  padding: var(--spacing-xs);
  border: 2px solid var(--color-text-muted);
  font-size: var(--font-size-xxs);
  color: var(--color-text-secondary);
}

.wp-block-embed {
  margin: 0;
  padding: 0;
}

.wp-block-image,
.wp-block-table {
  margin: var(--spacing-lg) 0;
  line-height: 0;
}

.wp-element-caption {
  text-align: center;
  padding: var(--spacing-sm);
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 0 5px 5px;
  font-size: var(--font-size-xxs);
  font-weight: 300;
}

.entry-content div {
  max-width: 100%;
}

/* Table Styles */
.wp-block-table {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-background-alt);
  border-radius: var(--border-radius-sm);
  line-height: var(--line-height-loose);
}

table td,
table th {
  padding: var(--spacing-sm);
  border: 1px solid var(--color-border);
}

/******* 3.5 Posts Slider *******/
.posts-slider {
  position: relative;
  max-width: 100%;
  margin: var(--spacing-md) auto 0;
}

.posts-slider-container {
  position: relative;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
}

.slide-link {
  display: block;
  color: var(--color-text-primary);
}

.slide-content {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding: 4% 4%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  box-sizing: border-box;
}

.slide-title {
  margin: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.slider-nav {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 2% 2%;
  color: white;
  font-weight: bold;
  font-size: var(--font-size-xl);
  border-radius: var(--border-radius-sm);
  user-select: none;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  transition: var(--transition-base);
}

.prev {
  right: var(--spacing-md);
}

.next {
  left: var(--spacing-md);
}

.slider-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
  justify-content: space-between;
  display: flex;
}

.dot {
  height: 12px;
  width: 100%;
  background-color: var(--color-text-muted);
  transition: var(--transition-base);
  border: none;
}

.dot.active {
  background-color: var(--color-primary);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}

/************** 4.0 Footer **************/
.site-footer {
  flex-shrink: 0;
  background-color: var(--color-background-card);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.footer-menu-container {
  justify-content: center;
  display: flex;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.footer-copyright {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  padding: var(--spacing-md);
  margin-top: var(--spacing-xl);
  background-color: var(--color-background-alt);
}

.footer-logo {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.footer-logo .custom-logo {
  width: 12rem;
  height: auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-item {
  text-align: center;
  width: 5rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-thin);
}

.social-item span {
  color: var(--color-text-secondary);
}

.social-item:hover {
  opacity: 0.7;
}

/* Button Styles */
.btn-primary {
  display: block;
  margin: var(--spacing-lg) auto;
  padding: var(--spacing-xs) var(--spacing-lg);
  background-color: var(--color-background-card);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-size: var(--font-size-xs);
}

.btn-secondary {
  padding: var(--spacing-xs) var(--spacing-lg);
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-regular);
}

.btn-plus {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-plus::before,
.btn-plus::after {
  content: '';
  position: absolute;
  height: 1px;
  background-color: var(--color-border);
  width: calc(50% - 2rem);
}

.btn-plus::before {
  right: calc(50% + 1.5rem);
}

.btn-plus::after {
  left: calc(50% + 1.5rem);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-plus:hover {
  opacity: 0.8;
}

/************** 6.0 Pagination **************/
/* Pagination Container */
.navigation.pagination {
  margin-top: var(--spacing-lg);
}

/* Links Container */
.nav-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
}

/* Common styles for links and spans */
.page-numbers {
  background-color: var(--color-background-card);
  padding: var(--spacing-xs);
  border: 2px solid var(--color-text-muted);
  font-size: var(--font-size-xxs);
  color: var(--color-text-secondary);
}

/* Current page */
.page-numbers.current {
  background-color: var(--color-secondary);
  color: white;
}

/* Hover effect for links */
a.page-numbers:hover {
  background-color: var(--color-secondary);
  color: white;
}

/************** 5.0.0 Author page **************/

.author-box {
  max-width: 900px;
  margin: var(--spacing-md) auto var(--spacing-xl);
  padding: var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  background-color: var(--color-background-card);
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 8px 2px var(--color-shadow);
  border-right: 3px solid var(--color-secondary);
}

.author-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--color-secondary);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.author-text {
  flex: 1;
  min-width: 250px;
}

.author-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-secondary);
  display: block;
  margin-bottom: 4px;
}

.author-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--spacing-xxs);
}

.author-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-loose);
  margin: 0;
  text-align: justify;
}

/* === Responsive Adjustments === */
@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-img {
    margin-bottom: var(--spacing-sm);
  }

  .author-description {
    text-align: center;
  }
}

/************** 5.0 Comments **************/
/* Comments Form */
.comment-form textarea {
  height: 8rem;
}

.comment-form textarea,
input {
  box-sizing: border-box;
}

.comment-respond {
  background-color: var(--color-background-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0px 0px 8px 2px var(--color-shadow);
  margin: var(--spacing-lg) 0;
}

.comment-reply-title {
  justify-content: space-between;
  display: flex;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-regular);
  margin: 0;
  border-right: 3px solid var(--color-secondary);
  padding-right: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  min-width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-background-alt);
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: var(--color-text-muted);
  background: var(--color-background);
  outline: none;
}

.comment-form-email,
.comment-form-url {
  display: none;
}

.comment-form .form-submit {
  margin-bottom: 0;
}

/* Comments List */
.comments-note {
  background-color: var(--color-text-muted);
  color: var(--color-text-primary);
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.comments-list {
  list-style: none;
  padding: 0;
}

.comments-list .children {
  list-style: none;
  margin-right: var(--spacing-lg);
  padding-right: 0;
}

.comment-item {
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  word-break: break-word;
}

.comment-meta {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.comment-author {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.comment-awaiting-moderation {
  color: var(--color-primary);
  display: block;
  background-color: var(--color-background-card);
  padding: var(--spacing-xxs);
  line-height: var(--line-height-base);
}

.comment-meta time {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-wrap: nowrap;
}

.comment-content p {
  line-height: var(--line-height-loose);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-thin);
  text-align: justify;
}

.comment-actions {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  bottom: -1px;
}

.comment-actions .reply,
.comment-actions .comment-karma {
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: var(--spacing-xxs);
}

.comment-actions .reply a {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.comment-reply-title a {
  color: var(--color-secondary);
}

.comment.depth-1 {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);

}

.thread-even {
  background-color: var(--color-background-alt);
}

.thread-odd {
  background-color: var(--color-background-card);
}

.comment {
  margin-top: var(--spacing-md);
  border-right: 1px solid var(--color-border);
  padding-right: var(--spacing-md);
}

/* like deslike */
.comment-karma {
  display: flex;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  gap: 7px;
  font-weight: var(--font-weight-semibold);
  direction: ltr;
}

.comment-karma svg {
  fill: #908f9b;
  cursor: pointer;
}

.karma-like.active-like svg {
  fill: green;
}

.karma-dislike.active-dislike svg {
  fill: red;
}

/* Comment Navigation */
.comment-nav {
  margin: var(--spacing-lg) 0;
  overflow: hidden;
  font-size: var(--font-size-sm);
}

.comment-nav .nav-previous {
  float: left;
}

.comment-nav .nav-next {
  float: right;
}

.comment-nav a {
  color: var(--color-text-secondary);
}

.comment-nav a:hover {
  color: var(--color-primary);
}

/*** remove slider from phone ***/

@media only screen and (max-width: 640px) {
    section.container.flex-row.home-one {
        display: none;
    }
}

/*** Mobile post meta ***/
@media only screen and (max-width: 800px) {
    .right-col {
	  display: grid;
	  gap: var(--spacing-xs);
	}
}