/*
Theme Name: Polscience Practice
Theme URI: https://polscience.in/
Author: Polscience.in
Description: A lightweight, responsive WordPress theme for bilingual education articles, MCQ practice sets, and exam preparation.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: polscience
Tags: education, blog, news, custom-logo, custom-menu, featured-images, one-column, two-columns, translation-ready
*/

:root {
  --ps-blue: #1676d2;
  --ps-blue-dark: #0f5fb0;
  --ps-ink: #202a35;
  --ps-muted: #687583;
  --ps-border: #e6ebf0;
  --ps-paper: #ffffff;
  --ps-soft: #f5f8fb;
  --ps-radius: 8px;
  --ps-shadow: 0 8px 28px rgba(25, 49, 75, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ps-ink);
  background: var(--ps-paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover,
a:focus-visible {
  color: var(--ps-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(22, 118, 210, 0.42);
  outline-offset: 3px;
}

.ps-container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  clip: auto;
  color: #fff;
  background: var(--ps-ink);
}

.ps-topbar {
  min-height: 35px;
  color: #fff;
  background: var(--ps-blue);
  font-size: 13px;
}

.ps-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  gap: 18px;
}

.ps-top-links,
.ps-top-links ul {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ps-top-links a {
  color: #fff;
  opacity: 0.95;
}

.ps-top-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.ps-top-note {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--ps-border);
}

.ps-header-main {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.ps-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  min-width: 205px;
  color: var(--ps-ink);
}

.ps-brand:hover {
  color: var(--ps-ink);
  text-decoration: none;
}

.ps-brand-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--ps-ink);
  border: 2px solid #d6e6f6;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ps-brand-copy {
  display: block;
  min-width: 0;
}

.ps-brand-title {
  display: block;
  overflow: hidden;
  color: var(--ps-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-brand-description {
  display: block;
  margin-top: 4px;
  color: var(--ps-muted);
  font-size: 11px;
  line-height: 1.3;
}

.ps-brand .custom-logo-link {
  display: flex;
  align-items: center;
}

.ps-brand .custom-logo {
  width: auto;
  max-width: 190px;
  max-height: 54px;
}

.ps-primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.ps-primary-nav > div > ul,
.ps-primary-nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.7vw, 24px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.ps-primary-nav li {
  position: relative;
  margin: 0;
}

.ps-primary-nav a {
  display: block;
  padding: 14px 0;
  color: #27313b;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-transform: uppercase;
}

.ps-primary-nav a:hover,
.ps-primary-nav .current-menu-item > a,
.ps-primary-nav .current-menu-ancestor > a {
  color: var(--ps-blue);
  text-decoration: none;
}

.ps-primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 30;
  display: none;
  min-width: 210px;
  padding: 7px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 7px;
  box-shadow: var(--ps-shadow);
}

.ps-primary-nav li:hover > .sub-menu,
.ps-primary-nav li:focus-within > .sub-menu {
  display: block;
}

.ps-primary-nav .sub-menu a {
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 13px;
  text-transform: none;
}

.ps-primary-nav .sub-menu a:hover {
  background: var(--ps-soft);
}

.ps-header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-search-link,
.ps-menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--ps-ink);
  background: #f8fafc;
  border: 1px solid var(--ps-border);
  border-radius: 7px;
  cursor: pointer;
}

.ps-search-link:hover,
.ps-menu-toggle:hover {
  color: var(--ps-blue);
  background: #eef6ff;
  text-decoration: none;
}

.ps-header-search {
  position: absolute;
  top: calc(100% + 8px);
  right: max(20px, calc((100vw - 1160px) / 2));
  z-index: 40;
  width: min(390px, calc(100vw - 28px));
  padding: 12px;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 7px;
  box-shadow: var(--ps-shadow);
}

.ps-header-search[hidden] {
  display: none;
}

.ps-search-link svg,
.ps-menu-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ps-menu-toggle {
  display: none;
}

.ps-content {
  padding-block: 28px 64px;
}

.ps-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
}

.ps-main-column,
.ps-sidebar {
  min-width: 0;
}

.ps-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ps-border);
}

.ps-featured-main {
  min-width: 0;
}

.ps-featured-main .ps-thumb {
  aspect-ratio: 1.78;
  margin-bottom: 13px;
}

.ps-featured-main .ps-entry-title {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.23;
}

.ps-featured-main .ps-entry-title a {
  color: var(--ps-ink);
}

.ps-featured-main .ps-entry-title a:hover {
  color: var(--ps-blue);
}

.ps-feature-list {
  display: grid;
  gap: 15px;
  align-content: start;
}

.ps-feature-mini {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
}

.ps-feature-mini .ps-thumb {
  aspect-ratio: 1.35;
}

.ps-feature-mini .ps-entry-title {
  margin: 3px 0 0;
  font-size: 16px;
  line-height: 1.34;
}

.ps-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 25px 0 17px;
}

.ps-section-heading h2,
.ps-section-heading h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.ps-section-heading a {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
}

.ps-post-list {
  display: grid;
  gap: 20px;
}

.ps-post-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ps-border);
}

.ps-post-card:last-child {
  border-bottom: 0;
}

.ps-post-card .ps-thumb {
  aspect-ratio: 1.48;
}

.ps-post-card .ps-entry-title {
  margin: 4px 0 8px;
  font-size: 21px;
  line-height: 1.32;
}

.ps-entry-title a {
  color: var(--ps-ink);
}

.ps-entry-title a:hover {
  color: var(--ps-blue);
  text-decoration: none;
}

.ps-category-label {
  display: inline-block;
  color: var(--ps-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ps-category-label a {
  color: inherit;
}

.ps-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  color: var(--ps-muted);
  font-size: 13px;
}

.ps-entry-meta a {
  color: inherit;
}

.ps-entry-summary {
  margin: 8px 0 0;
  color: #606d78;
  font-size: 14px;
  line-height: 1.6;
}

.ps-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8f2fc;
  border-radius: 6px;
}

.ps-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

a.ps-thumb:hover img {
  transform: scale(1.025);
}

.ps-thumb-placeholder {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.2) 0 10%, transparent 10.5%),
    linear-gradient(135deg, #1b76c8, #173d67);
  text-align: center;
}

.ps-thumb-placeholder span {
  max-width: 250px;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 850;
  line-height: 1.25;
  text-wrap: balance;
}

.ps-entry-empty {
  background: #e8f2fc;
}

.ps-ad-slot {
  min-height: 0;
  margin-block: 24px;
  overflow: hidden;
  text-align: center;
}

.ps-ad-label {
  margin: 0 0 5px;
  color: #7a8490;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ps-ad-slot .widget,
.ps-ad-slot .textwidget {
  margin: 0;
}

.ps-sidebar .widget {
  margin: 0 0 22px;
}

.ps-widget-title {
  margin: 0 0 13px;
  padding: 8px 11px;
  color: #fff;
  background: var(--ps-ink);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
}

.ps-social-menu,
.ps-social-menu ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.ps-social-menu li {
  padding: 0;
  border: 0;
}

.ps-social-menu a {
  display: block;
  padding: 8px 10px;
  color: #fff;
  background: var(--ps-blue);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.ps-social-menu a:hover {
  color: #fff;
  background: var(--ps-blue-dark);
  text-decoration: none;
}

.ps-sidebar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ps-sidebar li {
  padding: 8px 0;
  border-bottom: 1px solid var(--ps-border);
}

.ps-sidebar li:last-child {
  border-bottom: 0;
}

.ps-sidebar .ps-widget-post {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.ps-sidebar .ps-widget-post .ps-thumb {
  aspect-ratio: 1.2;
}

.ps-sidebar .ps-widget-post .ps-entry-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.38;
}

.ps-widget-post .ps-entry-meta {
  margin-top: 4px;
  font-size: 11px;
}

.ps-ad-widget {
  padding: 14px;
  background: var(--ps-soft);
  border: 1px dashed #cbd8e5;
  border-radius: 6px;
}

.ps-archive-description {
  margin: 0 0 20px;
  color: var(--ps-muted);
}

.ps-archive-description > :last-child {
  margin-bottom: 0;
}

.ps-pagination {
  margin-top: 28px;
}

.ps-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ps-pagination > ul.page-numbers,
.ps-pagination .nav-links > ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ps-pagination ul.page-numbers li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ps-pagination a.page-numbers,
.ps-pagination span.page-numbers {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  padding: 0 11px;
  place-items: center;
  color: var(--ps-ink);
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}

.ps-pagination .page-numbers.current,
.ps-pagination a.page-numbers:hover {
  color: #fff;
  background: var(--ps-blue);
  border-color: var(--ps-blue);
  text-decoration: none;
}

.ps-single-header {
  max-width: 850px;
  margin: 0 auto 22px;
}

.ps-breadcrumbs {
  margin-bottom: 12px;
  color: var(--ps-muted);
  font-size: 13px;
}

.ps-breadcrumbs span {
  margin-inline: 5px;
  color: #9aa4ad;
}

.ps-single-title {
  margin: 6px 0 11px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  line-height: 1.2;
  text-wrap: pretty;
}

.ps-single-featured {
  width: 100%;
  max-height: 570px;
  margin: 22px 0 24px;
  overflow: hidden;
  background: var(--ps-soft);
  border-radius: var(--ps-radius);
}

.ps-single-featured img {
  display: block;
  width: 100%;
  max-height: 570px;
  object-fit: cover;
}

.ps-article-body {
  color: #26313b;
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.ps-article-body > :first-child {
  margin-top: 0;
}

.ps-article-body h2,
.ps-article-body h3,
.ps-article-body h4 {
  margin: 1.55em 0 0.55em;
  color: var(--ps-ink);
  line-height: 1.32;
}

.ps-article-body h2 {
  font-size: 1.55em;
}

.ps-article-body h3 {
  font-size: 1.3em;
}

.ps-article-body p,
.ps-article-body ul,
.ps-article-body ol {
  margin-block: 0 1.15em;
}

.ps-article-body blockquote {
  padding: 12px 18px;
  margin: 1.4em 0;
  color: #536272;
  background: var(--ps-soft);
  border-left: 4px solid var(--ps-blue);
}

.ps-article-body table {
  width: 100%;
  border-collapse: collapse;
}

.ps-article-body th,
.ps-article-body td {
  padding: 9px 11px;
  border: 1px solid var(--ps-border);
  text-align: left;
}

.ps-article-body figure {
  max-width: 100%;
  margin: 1.5em 0;
}

.ps-article-body iframe,
.ps-article-body video {
  max-width: 100%;
}

.ps-article-body .wp-block-embed {
  overflow-wrap: anywhere;
}

.ps-article-body .wp-block-details {
  padding: 13px 15px;
  margin-block: 12px;
  background: #f5f8fb;
  border: 1px solid var(--ps-border);
  border-radius: 6px;
}

.ps-article-body .wp-block-details summary {
  color: var(--ps-blue-dark);
  cursor: pointer;
  font-weight: 750;
}

.ps-article-body .wp-block-details > :last-child {
  margin-bottom: 0;
}

.ps-article-body .ps-mcq-question {
  padding: 15px;
  margin-block: 16px;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-left: 4px solid var(--ps-blue);
  border-radius: 6px;
}

.ps-article-body .ps-mcq-question > :last-child {
  margin-bottom: 0;
}

.ps-article-body .wp-block-button__link {
  color: #fff;
  background: var(--ps-blue);
  border-radius: 5px;
}

.ps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--ps-border);
}

.ps-tags a {
  padding: 5px 9px;
  color: #506070;
  background: var(--ps-soft);
  border-radius: 4px;
  font-size: 12px;
}

.ps-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-block: 22px;
  margin-top: 20px;
  border-top: 1px solid var(--ps-border);
}

.ps-post-navigation a {
  color: var(--ps-ink);
  font-weight: 700;
}

.ps-post-navigation .ps-next {
  text-align: right;
}

.ps-comments {
  padding-top: 14px;
  margin-top: 24px;
  border-top: 1px solid var(--ps-border);
}

.ps-comments h2 {
  font-size: 21px;
}

.ps-comments input[type="text"],
.ps-comments input[type="email"],
.ps-comments input[type="url"],
.ps-comments textarea,
.ps-search-form input[type="search"] {
  width: 100%;
  padding: 11px 12px;
  color: var(--ps-ink);
  background: #fff;
  border: 1px solid #d7e0e8;
  border-radius: 5px;
}

.ps-comments input[type="submit"],
.ps-search-form button {
  padding: 10px 15px;
  color: #fff;
  background: var(--ps-blue);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}

.ps-search-form {
  display: flex;
  gap: 8px;
  max-width: 600px;
}

.ps-search-form button {
  flex: 0 0 auto;
}

.ps-empty-state {
  padding: 28px;
  background: var(--ps-soft);
  border-radius: var(--ps-radius);
}

.ps-footer {
  padding-block: 34px 22px;
  color: #d9e0e7;
  background: #1d2731;
}

.ps-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr);
  gap: 30px;
  padding-bottom: 23px;
}

.ps-footer .ps-brand-title,
.ps-footer .ps-brand {
  color: #fff;
}

.ps-footer .ps-brand-description {
  color: #b8c3ce;
}

.ps-footer-about {
  max-width: 560px;
  margin: 13px 0 0;
  color: #b8c3ce;
  font-size: 14px;
}

.ps-footer-menu,
.ps-footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ps-footer-menu a {
  color: #d9e0e7;
  font-size: 13px;
}

.ps-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  color: #aeb9c4;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.ps-footer-bottom p {
  margin: 0;
}

.ps-footer-bottom a {
  color: #d9e0e7;
}

.alignwide {
  width: min(100% + 120px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1040px) {
  .ps-header-main {
    gap: 18px;
  }

  .ps-brand {
    min-width: 170px;
  }

  .ps-primary-nav > div > ul,
  .ps-primary-nav > ul {
    gap: 13px;
  }

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

  .ps-main-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 24px;
  }

  .ps-feature-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(235px, 1fr);
  }

  .ps-post-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .ps-container {
    width: min(100% - 32px, 680px);
  }

  .ps-header-main {
    min-height: 68px;
  }

  .ps-brand {
    flex: 1 1 auto;
  }

  .ps-menu-toggle {
    display: grid;
  }

  .ps-primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 6px 16px 12px;
    background: #fff;
    border-bottom: 1px solid var(--ps-border);
    box-shadow: 0 12px 18px rgba(20, 38, 56, 0.07);
  }

  .ps-primary-nav.is-open {
    display: block;
  }

  .ps-primary-nav > div > ul,
  .ps-primary-nav > ul {
    display: block;
    max-height: min(65vh, 460px);
    overflow-y: auto;
  }

  .ps-primary-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid #eff2f5;
    font-size: 13px;
  }

  .ps-primary-nav .sub-menu {
    position: static;
    display: block;
    padding: 0 0 0 13px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ps-primary-nav .sub-menu a {
    padding: 8px 4px;
  }

  .ps-main-grid {
    grid-template-columns: 1fr;
  }

  .ps-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0 20px;
  }

  .ps-sidebar .widget:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .ps-container {
    width: calc(100% - 28px);
  }

  .ps-topbar-inner {
    justify-content: center;
  }

  .ps-top-links,
  .ps-top-links ul {
    gap: 14px;
  }

  .ps-top-note {
    display: none;
  }

  .ps-header-main {
    min-height: 64px;
    gap: 8px;
  }

  .ps-brand {
    gap: 8px;
    min-width: 0;
  }

  .ps-brand-mark {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
    font-size: 11px;
  }

  .ps-brand-title {
    font-size: 16px;
  }

  .ps-brand-description {
    max-width: 185px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ps-search-link,
  .ps-menu-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .ps-content {
    padding-top: 19px;
  }

  .ps-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 21px;
  }

  .ps-feature-list {
    gap: 13px;
  }

  .ps-feature-mini {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 11px;
  }

  .ps-feature-mini .ps-entry-title {
    font-size: 14px;
  }

  .ps-feature-mini .ps-category-label {
    font-size: 10px;
  }

  .ps-featured-main .ps-entry-title {
    font-size: 25px;
  }

  .ps-section-heading {
    margin-top: 20px;
  }

  .ps-post-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 15px;
  }

  .ps-post-card .ps-entry-title {
    margin: 3px 0 5px;
    font-size: 16px;
  }

  .ps-post-card .ps-entry-summary {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ps-post-card .ps-entry-meta {
    font-size: 11px;
  }

  .ps-post-card .ps-category-label {
    font-size: 10px;
  }

  .ps-sidebar {
    grid-template-columns: 1fr;
  }

  .ps-sidebar .widget:first-child {
    grid-column: auto;
  }

  .ps-single-title {
    font-size: 29px;
  }

  .ps-article-body {
    font-size: 16px;
  }

  .ps-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ps-footer-bottom {
    flex-direction: column;
  }
}

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