/*
Theme Name: Premium Blog
Version: 3.0
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff !important;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.pb-container,
.container {
  width: min(1180px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.logo-area {
  text-align: center;
  padding: 28px 0 22px;
}

.site-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  color: #111827;
}

.main-menu {
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.main-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu li {
  display: inline-block;
}

.main-menu a {
  display: block;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pb-hero {
  padding: 42px 0 34px;
}

.pb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.pb-hero-main {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.pb-hero-main a {
  display: grid;
  grid-template-rows: 360px auto;
  height: 100%;
}

.pb-hero-img,
.pb-hero-img img {
  height: 360px;
}

.pb-hero-img img {
  object-fit: cover;
}

.pb-hero-text {
  padding: 28px;
}

.pb-hero-text span,
.pb-card-body span,
.pb-section-title-row span {
  color: #0f62fe;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pb-hero-text h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.pb-hero-text p,
.pb-card-body p,
.pb-section-head p {
  color: #4b5563;
  line-height: 1.6;
}

.pb-hero-list {
  display: grid;
  gap: 16px;
}

.pb-side-post {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.pb-side-post a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.pb-side-img,
.pb-side-img img {
  width: 120px;
  height: 86px;
}

.pb-side-img img {
  object-fit: cover;
  border-radius: 12px;
}

.pb-side-post span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.pb-side-post h3 {
  margin: 6px 0 0;
  font-size: 17px;
  line-height: 1.3;
}

.pb-section {
  padding: 34px 0;
}

.pb-section-head {
  margin-bottom: 22px;
}

.pb-section-head h2,
.pb-section-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.pb-section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  border-top: 4px solid #111827;
  padding-top: 16px;
  margin-bottom: 22px;
}

.pb-section-title-row a {
  border: 1px solid #111827;
  border-radius: 999px;
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 900;
}

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

.pb-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.pb-card-img,
.pb-card-img img {
  height: 190px;
}

.pb-card-img img {
  object-fit: cover;
}

.pb-card-body {
  padding: 18px;
}

.pb-card-body h3 {
  margin: 8px 0;
  font-size: 21px;
  line-height: 1.25;
}

.site-footer {
  margin-top: 60px;
  background: #111827;
  color: #ffffff;
  padding: 46px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.footer-col h3,
.footer-brand h2 {
  margin-top: 0;
}

.footer-col p,
.footer-col a,
.footer-col li,
.footer-brand p {
  color: #d1d5db;
  line-height: 1.7;
}

.copyright {
  border-top: 1px solid #374151;
  margin-top: 30px;
  padding-top: 18px;
  text-align: center;
  color: #d1d5db;
}

@media (max-width: 980px) {
  .pb-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pb-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .main-menu li {
    display: block;
  }

  .pb-post-grid {
    grid-template-columns: 1fr;
  }

  .pb-side-post a {
    grid-template-columns: 100px 1fr;
  }

  .pb-side-img,
  .pb-side-img img {
    width: 100px;
    height: 76px;
  }

  .pb-section-title-row {
    align-items: start;
    flex-direction: column;
  }
}

/* Premium editorial upgrade */
body {
  background: #ffffff !important;
  color: #0f172a;
}

.pb-container,
.container {
  width: min(1220px, 92%) !important;
}

.logo-area {
  padding: 34px 0 26px;
}

.site-title {
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -2px;
}

.main-menu {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.main-menu a {
  padding: 16px 22px;
  font-size: 12px;
  letter-spacing: .04em;
}

.pb-hero {
  padding-top: 32px;
}

.pb-hero-grid {
  grid-template-columns: 1.45fr .85fr !important;
  gap: 32px !important;
  align-items: start;
}

.pb-hero-main {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
}

.pb-hero-main a {
  grid-template-rows: auto auto !important;
}

.pb-hero-img,
.pb-hero-img img {
  height: 430px !important;
}

.pb-hero-img img {
  object-fit: cover;
}

.pb-hero-text {
  padding: 22px 0 24px !important;
}

.pb-hero-text h1 {
  font-size: clamp(42px, 5vw, 68px) !important;
  letter-spacing: -2px;
  line-height: .95 !important;
  max-width: 760px;
}

.pb-hero-text p {
  max-width: 720px;
  font-size: 18px;
}

.pb-hero-list {
  border-top: 4px solid #111827;
  gap: 0 !important;
}

.pb-side-post {
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pb-side-post a {
  grid-template-columns: 128px 1fr !important;
  padding: 16px 0 !important;
}

.pb-side-img,
.pb-side-img img {
  width: 128px !important;
  height: 88px !important;
}

.pb-side-img img {
  border-radius: 0 !important;
}

.pb-side-post h3 {
  font-size: 19px !important;
  line-height: 1.18 !important;
}

.pb-section {
  padding: 44px 0 !important;
}

.pb-section-head {
  border-top: 4px solid #111827;
  padding-top: 16px;
}

.pb-section-head h2,
.pb-section-title-row h2 {
  font-size: clamp(34px, 4vw, 50px) !important;
  letter-spacing: -1.4px;
}

.pb-section-title-row {
  border-top: 4px solid #111827 !important;
}

.pb-post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.pb-card {
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.pb-card-img,
.pb-card-img img {
  height: 165px !important;
}

.pb-card-img img {
  object-fit: cover;
}

.pb-card-body {
  padding: 14px 0 20px !important;
}

.pb-card-body h3 {
  font-size: 21px !important;
  line-height: 1.18 !important;
}

.pb-card-body p {
  font-size: 14px;
}

.pb-hero-text span,
.pb-card-body span,
.pb-section-title-row span {
  color: #0f62fe !important;
  font-size: 11px !important;
  letter-spacing: .04em;
}

.pb-section-title-row a {
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 2px solid #111827 !important;
  padding: 0 0 4px !important;
  color: #111827 !important;
}

.site-footer {
  margin-top: 80px;
}

@media (max-width: 980px) {
  .pb-hero-grid,
  .pb-post-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .pb-hero-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .pb-hero-grid,
  .pb-post-grid {
    grid-template-columns: 1fr !important;
  }

  .pb-hero-img,
  .pb-hero-img img {
    height: 300px !important;
  }
}
/* Color polish */
:root {
  --accent-blue: #0f62fe;
  --accent-gold: #c47a12;
  --accent-mint: #0f766e;
  --soft-blue: #eef5ff;
  --soft-gold: #fff7e8;
}

.top-strip {
  background: linear-gradient(90deg, var(--soft-blue), var(--soft-gold));
  color: #111827;
}

.main-menu a:hover {
  color: var(--accent-gold) !important;
}

.pb-hero-text span,
.pb-card-body span,
.pb-section-title-row span {
  color: var(--accent-blue) !important;
}

.pb-section-head,
.pb-section-title-row,
.pb-hero-list {
  border-top-color: var(--accent-gold) !important;
}

.pb-section-head h2::after,
.pb-section-title-row h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-gold));
}

.pb-section-title-row a {
  border-bottom-color: var(--accent-blue) !important;
  color: var(--accent-blue) !important;
}

.pb-section-title-row a:hover {
  color: var(--accent-gold) !important;
  border-bottom-color: var(--accent-gold) !important;
}

.pb-card:hover h3,
.pb-side-post:hover h3,
.pb-hero-main:hover h1 {
  color: var(--accent-blue);
}

.site-footer {
  background: linear-gradient(135deg, #0f172a, #111827 55%, #13251f);
}

.single-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 42px !important;
  align-items: start !important;
  margin-top: 36px !important;
}

.single-content {
  min-width: 0 !important;
}

.single-featured-image {
  margin-bottom: 26px !important;
}

.single-featured-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
}

.single-content h1 {
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 1.05 !important;
  margin: 18px 0 12px !important;
}

.single-meta {
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
}

.single-entry {
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.single-entry p {
  margin-bottom: 18px !important;
}

.single-entry h2 {
  font-size: 30px !important;
  line-height: 1.2 !important;
  margin: 34px 0 14px !important;
}

.single-entry h3 {
  font-size: 23px !important;
  margin: 28px 0 12px !important;
}

.single-entry ul,
.single-entry ol {
  margin: 0 0 22px 24px !important;
}

.single-entry table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 24px 0 !important;
}

.single-entry th,
.single-entry td {
  border: 1px solid #d1d5db !important;
  padding: 12px !important;
}

.sidebar {
  width: 100% !important;
  border-top: 4px solid #111827 !important;
  position: sticky !important;
  top: 24px !important;
}

.sidebar .widget {
  border-bottom: 1px solid #e5e7eb !important;
  padding: 18px 0 !important;
}

.sidebar h3 {
  font-size: 21px !important;
  margin-bottom: 12px !important;
}

@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr !important;
  }

  .sidebar {
    position: static !important;
  }
}

/* Compact homepage spacing */
.top-strip-inner {
  height: 30px !important;
  font-size: 13px !important;
}

.logo-area {
  padding: 26px 0 22px !important;
}

.pb-hero {
  padding: 28px 0 18px !important;
}

.pb-hero-grid {
  gap: 28px !important;
}

.pb-hero-text {
  padding-bottom: 18px !important;
}

.pb-hero-text h1 {
  margin-bottom: 10px !important;
}

.pb-section {
  padding: 24px 0 28px !important;
}

.pb-section-title-row {
  margin-bottom: 18px !important;
  padding-top: 12px !important;
}

.pb-post-grid {
  gap: 24px !important;
}

.pb-card-body {
  padding-bottom: 14px !important;
}

.category-section {
  margin-bottom: 34px !important;
}

.site-footer {
  margin-top: 42px !important;
}

/* Better hero/banner layout */
.pb-hero {
  padding-top: 30px !important;
  padding-bottom: 22px !important;
}

.pb-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr) !important;
  gap: 34px !important;
  align-items: stretch !important;
}

.pb-hero-main {
  border: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: none !important;
}

.pb-hero-main a {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

.pb-hero-img {
  position: relative !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
}

.pb-hero-img,
.pb-hero-img img {
  height: 390px !important;
}

.pb-hero-img img {
  object-fit: cover !important;
  transition: transform .4s ease !important;
}

.pb-hero-main:hover .pb-hero-img img {
  transform: scale(1.03);
}

.pb-hero-text {
  padding: 20px 0 26px !important;
  max-width: 760px !important;
}

.pb-hero-text h1 {
  color: #0f62fe !important;
  font-size: clamp(42px, 5vw, 64px) !important;
  line-height: .98 !important;
  letter-spacing: -2px !important;
  margin: 10px 0 14px !important;
}

.pb-hero-text p {
  font-size: 17px !important;
  line-height: 1.6 !important;
  max-width: 660px !important;
}

.pb-hero-list {
  border-top: 4px solid #d97706 !important;
  align-self: start !important;
}

.pb-side-post {
  min-height: 92px !important;
}

.pb-side-post a {
  grid-template-columns: 120px 1fr !important;
  gap: 14px !important;
  padding: 14px 0 !important;
}

.pb-side-img,
.pb-side-img img {
  width: 120px !important;
  height: 78px !important;
}

.pb-side-post h3 {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.pb-side-post span {
  font-size: 12px !important;
}

@media (max-width: 900px) {
  .pb-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .pb-hero-img,
  .pb-hero-img img {
    height: 300px !important;
  }

  .pb-hero-text h1 {
    font-size: 38px !important;
  }
}

.category-section {
  margin-bottom: 24px !important;
}

.pb-section {
  padding-top: 18px !important;
  padding-bottom: 22px !important;
}

.pb-section-title-row {
  margin-bottom: 14px !important;
}

/* Hero side posts compact fix */
.pb-hero-grid {
  align-items: start !important;
}

.pb-hero-list {
  align-self: start !important;
  height: auto !important;
  max-height: none !important;
}

.pb-side-post {
  height: auto !important;
  min-height: 82px !important;
}

.pb-side-post a {
  padding: 10px 0 !important;
  grid-template-columns: 112px 1fr !important;
  min-height: 82px !important;
}

.pb-side-img,
.pb-side-img img {
  width: 112px !important;
  height: 72px !important;
}

.pb-side-post h3 {
  font-size: 16px !important;
  line-height: 1.18 !important;
  margin-top: 4px !important;
}

.pb-side-post span {
  font-size: 11px !important;
}

/* Hero title size fix */
.pb-hero-text h1 {
  font-size: clamp(34px, 4.2vw, 52px) !important;
  line-height: 1.02 !important;
  letter-spacing: -1.4px !important;
  max-width: 680px !important;
}

.pb-hero-text {
  padding-top: 16px !important;
  padding-bottom: 18px !important;
}

.pb-hero-img,
.pb-hero-img img {
  height: 340px !important;
}

.pb-hero {
  padding-bottom: 10px !important;
}

/* Premium category card styling */
.category-section .pb-post-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

.category-section .pb-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.category-section .pb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12) !important;
}

.category-section .pb-card-img,
.category-section .pb-card-img img {
  height: 185px !important;
}

.category-section .pb-card-img img {
  object-fit: cover !important;
}

.category-section .pb-card-body {
  padding: 18px !important;
}

.category-section .pb-card-body h3 {
  font-size: 23px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.3px !important;
  margin: 9px 0 10px !important;
}

.category-section .pb-card-body p {
  display: block !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #4b5563 !important;
}

.category-section .pb-card-body span {
  color: #0f62fe !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .05em !important;
}

@media (max-width: 980px) {
  .category-section .pb-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .category-section .pb-post-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Banner side posts premium fill */
.pb-hero-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, .9fr) !important;
  align-items: stretch !important;
}

.pb-hero-list {
  display: grid !important;
  grid-template-rows: repeat(4, 1fr) !important;
  gap: 14px !important;
  border-top: 4px solid #d97706 !important;
  height: 100% !important;
}

.pb-side-post {
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06) !important;
}

.pb-side-post a {
  display: grid !important;
  grid-template-columns: 118px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  height: 100% !important;
  padding: 12px !important;
}

.pb-side-img,
.pb-side-img img {
  width: 118px !important;
  height: 96px !important;
}

.pb-side-img img {
  object-fit: cover !important;
  border-radius: 10px !important;
}

.pb-side-content h3 {
  font-size: 18px !important;
  line-height: 1.18 !important;
  margin: 5px 0 6px !important;
  letter-spacing: -0.2px !important;
}

.pb-side-content p {
  display: block !important;
  color: #4b5563 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.pb-side-content span {
  color: #6b7280 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

@media (max-width: 900px) {
  .pb-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .pb-hero-list {
    grid-template-rows: none !important;
    height: auto !important;
  }
}

/* Make banner + category cards stand out from white background */
.pb-side-post,
.category-section .pb-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid #dbe4f0 !important;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10) !important;
}

.pb-side-post {
  border-left: 4px solid #0f62fe !important;
}

.category-section .pb-card {
  border-top: 4px solid #d97706 !important;
}

.pb-side-post:hover,
.category-section .pb-card:hover {
  background: #ffffff !important;
  border-color: #b9c7da !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16) !important;
}

.category-section .pb-card-body {
  background: #ffffff !important;
}

.pb-side-content {
  background: transparent !important;
}

.pb-side-content h3,
.category-section .pb-card-body h3 {
  color: #0f172a !important;
}

.pb-side-content p,
.category-section .pb-card-body p {
  color: #475569 !important;
}

.category-section .pb-card-img {
  background: #eef4ff !important;
}

/* Optional: subtle category section panel */
.category-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  padding: 22px 0 28px !important;
}

/* Main banner featured post premium card */
.pb-hero-main {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12) !important;
}

.pb-hero-main a {
  display: block !important;
}

.pb-hero-img {
  position: relative !important;
  overflow: hidden !important;
}

.pb-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.02),
    rgba(15, 23, 42, 0.18)
  );
  pointer-events: none;
}

.pb-hero-img,
.pb-hero-img img {
  height: 355px !important;
}

.pb-hero-img img {
  object-fit: cover !important;
}

.pb-hero-text {
  position: relative !important;
  padding: 26px 30px 32px !important;
  max-width: none !important;
  background: #ffffff !important;
}

.pb-hero-text::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 72px;
  height: 5px;
  background: linear-gradient(90deg, #0f62fe, #d97706);
  border-radius: 999px;
}

.pb-hero-text span {
  display: inline-block !important;
  margin-top: 8px !important;
  color: #0f62fe !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
}

.pb-hero-text h1 {
  color: #0f172a !important;
  font-size: clamp(38px, 4.6vw, 58px) !important;
  line-height: 1 !important;
  letter-spacing: -1.8px !important;
  margin: 12px 0 14px !important;
  max-width: 760px !important;
}

.pb-hero-text p {
  color: #475569 !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  max-width: 680px !important;
}

.pb-hero-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 85px rgba(15, 23, 42, 0.16) !important;
  transition: .25s ease;
}

.pb-hero-main:hover h1 {
  color: #0f62fe !important;
}

/* Premium category sections */
.category-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid #e5e7eb !important;
  border-top: 4px solid #d97706 !important;
  border-radius: 18px !important;
  padding: 26px 28px 30px !important;
  margin: 34px 0 !important;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06) !important;
}

.category-section .pb-section-title-row {
  border-top: none !important;
  padding-top: 0 !important;
  margin-bottom: 24px !important;
}

.category-section .pb-section-title-row h2 {
  font-size: clamp(32px, 4vw, 48px) !important;
}

.category-section .pb-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.category-section .pb-card {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08) !important;
}

.category-section .pb-card-img,
.category-section .pb-card-img img {
  width: 100% !important;
  height: 190px !important;
}

.category-section .pb-card-img img {
  object-fit: cover !important;
}

.category-section .pb-card-body {
  padding: 18px !important;
}

.category-section .pb-card-body h3 {
  font-size: 22px !important;
  line-height: 1.18 !important;
  margin: 9px 0 10px !important;
}

.category-section .pb-card-body p {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
}

.category-section .pb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14) !important;
}

@media (max-width: 980px) {
  .category-section .pb-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .category-section {
    padding: 20px !important;
  }

  .category-section .pb-post-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Premium header and nav */
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #dbe4f0 !important;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.04) !important;
}

.logo-area {
  padding: 34px 0 28px !important;
  position: relative !important;
}

.site-title {
  display: inline-block !important;
  color: #0f172a !important;
  font-size: clamp(44px, 5vw, 68px) !important;
  font-weight: 950 !important;
  letter-spacing: -2.8px !important;
  line-height: 1 !important;
  text-shadow: 0 10px 28px rgba(15, 23, 42, 0.10) !important;
}

.site-title::after {
  content: "";
  display: block;
  width: 96px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f62fe, #d97706);
}

.main-menu {
  background: #ffffff !important;
  border-top: 1px solid #eef2f7 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.main-menu ul {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}

.main-menu li {
  display: block !important;
}

.main-menu a {
  position: relative !important;
  padding: 16px 18px !important;
  color: #111827 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.main-menu a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f62fe, #d97706);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.main-menu a:hover {
  color: #0f62fe !important;
}

.main-menu a:hover::after,
.main-menu .current-menu-item > a::after {
  transform: scaleX(1);
}

/* Better View All button */
.category-section .pb-section-title-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 8px 16px !important;
  border: 1px solid #0f62fe !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0f62fe !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.10) !important;
}

.category-section .pb-section-title-row a::after {
  content: " →";
  margin-left: 4px;
}

.category-section .pb-section-title-row a:hover {
  background: #0f62fe !important;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(15, 98, 254, 0.18) !important;
}

@media (max-width: 640px) {
  .site-title {
    font-size: 38px !important;
    letter-spacing: -1.6px !important;
  }

  .main-menu ul {
    flex-wrap: wrap !important;
    gap: 0 !important;
  }
}

/* Full site Sans-Serif font */
body,
button,
input,
textarea,
select,
.site-title,
.main-menu a,
.pb-hero-text h1,
.pb-section-title-row h2,
.pb-card-body h3,
.pb-side-content h3 {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Fix View All button position */
.category-section .pb-section-title-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  position: relative !important;
}

.category-section .pb-section-title-row a {
  margin-top: 0px !important;
  transform: none !important;
  position: static !important;
  align-self: flex-start !important;
}

/* Make View All look cleaner */
.category-section .pb-section-title-row a {
  padding: 9px 17px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #0f62fe !important;
  color: #0f62fe !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.category-section .pb-section-title-row a:hover {
  background: #0f62fe !important;
  color: #ffffff !important;
}


/* Final View All alignment fix */
.category-section .pb-section-title-row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: start !important;
  column-gap: 20px !important;
  position: relative !important;
  width: 100% !important;
}

.category-section .pb-section-title-row > div {
  min-width: 0 !important;
}

.category-section .pb-section-title-row h2 {
  margin: 0 !important;
  line-height: 1 !important;
}

.category-section .pb-section-title-row > a {
  position: relative !important;
  top: 0px !important;
  right: 0 !important;
  margin: 0 !important;
  align-self: start !important;
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 86px !important;
  height: 34px !important;
  padding: 0 16px !important;
  border: 1px solid #0f62fe !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0f62fe !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 98, 254, 0.12) !important;
}

.category-section .pb-section-title-row > a:hover {
  background: #0f62fe !important;
  color: #ffffff !important;
}


/* Premium single post sidebar */
.single-layout {
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 48px !important;
  align-items: start !important;
}

.sidebar {
  position: sticky !important;
  top: 24px !important;
  background: #ffffff !important;
  border: 1px solid #dbe4f0 !important;
  border-top: 4px solid #0f62fe !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10) !important;
}

.sidebar .widget {
  border-bottom: 1px solid #e5e7eb !important;
  padding: 0 0 22px !important;
  margin-bottom: 22px !important;
}

.sidebar .widget:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.sidebar h3,
.sidebar .wp-block-heading {
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
  color: #0f172a !important;
  letter-spacing: -0.3px !important;
}

.sidebar h3::after,
.sidebar .wp-block-heading::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f62fe, #d97706);
}

/* Search widget */
.sidebar form,
.sidebar .wp-block-search {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 8px !important;
}

.sidebar input[type="search"],
.sidebar .wp-block-search__input {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  background: #f8fbff !important;
  color: #111827 !important;
  font-size: 14px !important;
  outline: none !important;
}

.sidebar input[type="search"]:focus,
.sidebar .wp-block-search__input:focus {
  border-color: #0f62fe !important;
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.12) !important;
}

.sidebar input[type="submit"],
.sidebar button,
.sidebar .wp-block-search__button {
  height: 42px !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  background: #0f62fe !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

/* Lists */
.sidebar ul,
.sidebar ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar li {
  padding: 11px 0 !important;
  border-bottom: 1px solid #eef2f7 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.sidebar li:last-child {
  border-bottom: none !important;
}

.sidebar li a {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.sidebar li a:hover {
  color: #0f62fe !important;
}

/* Recent posts block */
.sidebar .wp-block-latest-posts__list li,
.sidebar .widget_recent_entries li {
  background: #f8fbff !important;
  border: 1px solid #e5edf7 !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin-bottom: 10px !important;
}

.sidebar .wp-block-latest-posts__post-date {
  display: block !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-top: 5px !important;
}

/* Comments */
.sidebar .wp-block-latest-comments,
.sidebar .wp-block-latest-comments li {
  padding-left: 0 !important;
}

.sidebar .wp-block-latest-comments__comment {
  background: #f8fbff !important;
  border: 1px solid #e5edf7 !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin-bottom: 10px !important;
}

@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr !important;
  }

  .sidebar {
    position: static !important;
  }
}

/* Author box and related posts */
.author-box {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  margin: 42px 0 34px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe4f0;
  border-left: 5px solid #0f62fe;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.author-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 999px;
}

.author-info span {
  color: #0f62fe;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.author-info h3 {
  margin: 6px 0 8px;
  font-size: 26px;
  line-height: 1.1;
}

.author-info p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.related-posts {
  margin: 34px 0 10px;
  padding-top: 24px;
  border-top: 4px solid #d97706;
}

.related-heading {
  margin-bottom: 20px;
}

.related-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
}

.related-heading p {
  margin-top: 8px;
  color: #64748b;
}

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

.related-card {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.related-img,
.related-img img {
  height: 150px;
}

.related-img img {
  object-fit: cover;
}

.related-content {
  padding: 16px;
}

.related-content span {
  color: #0f62fe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-content h3 {
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.2;
}

.related-content p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

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

  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-avatar img {
    margin: auto;
  }
}

/* Premium category/archive page */
.archive-page {
  padding-top: 36px;
  padding-bottom: 40px;
}

.archive-header {
  border-top: 4px solid #d97706;
  padding-top: 18px;
  margin-bottom: 28px;
}

.archive-header span {
  color: #0f62fe;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.archive-header h1 {
  margin: 8px 0 10px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -2px;
  color: #0f172a;
}

.archive-header p {
  max-width: 720px;
  color: #475569;
  font-size: 17px;
  line-height: 1.6;
}

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

.archive-card {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.15);
}

.archive-card-img,
.archive-card-img img {
  height: 210px;
}

.archive-card-img img {
  object-fit: cover;
}

.archive-card-content {
  padding: 18px;
}

.archive-card-content span {
  color: #0f62fe;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.archive-card-content h2 {
  margin: 9px 0 10px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #0f172a;
}

.archive-card-content p {
  color: #475569;
  line-height: 1.55;
  font-size: 15px;
}

.archive-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.archive-pagination {
  margin-top: 34px;
}

.archive-pagination .nav-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.archive-pagination a,
.archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  font-weight: 900;
}

.archive-pagination .current,
.archive-pagination a:hover {
  background: #0f62fe;
  color: #ffffff;
  border-color: #0f62fe;
}

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

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

  .archive-card-img,
  .archive-card-img img {
    height: 190px;
  }
}

/* Premium menu navigation */
.main-menu {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border-top: 1px solid #e5edf7 !important;
  border-bottom: 1px solid #dbe4f0 !important;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05) !important;
}

.main-menu .container {
  display: flex !important;
  justify-content: center !important;
}

.main-menu ul {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px !important;
  margin: 0 !important;
  list-style: none !important;
  background: #ffffff !important;
  border: 1px solid #e5edf7 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
}

.main-menu li {
  display: block !important;
}

.main-menu a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease !important;
}

.main-menu a::after {
  display: none !important;
}

.main-menu a:hover,
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a {
  background: linear-gradient(135deg, #0f62fe, #1d4ed8) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.22) !important;
}

@media (max-width: 640px) {
  .main-menu ul {
    width: 100% !important;
    flex-wrap: wrap !important;
    border-radius: 18px !important;
  }

  .main-menu a {
    min-height: 32px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
  }
}

/* Fix oversized custom logo */
.logo-area {
  padding: 22px 0 18px !important;
}

.logo-area .custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.logo-area .custom-logo,
.logo-area img {
  width: auto !important;
  max-width: 420px !important;
  max-height: 92px !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .logo-area .custom-logo,
  .logo-area img {
    max-width: 300px !important;
    max-height: 72px !important;
  }
}

/* Homepage author and date meta */
.home-post-meta {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  margin: 7px 0 9px !important;
}

.pb-hero-text .home-post-meta {
  font-size: 13px !important;
  margin: 8px 0 12px !important;
}

.pb-side-content span {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

/* Load more button on category pages */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 42px 0 10px;
}

.load-more-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f62fe, #1d4ed8);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(15, 98, 254, 0.22);
}

.load-more-wrap a:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.22);
}

.load-more-wrap button,
#loadMorePosts {
  min-height: 48px !important;
  padding: 0 28px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0f62fe, #1d4ed8) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 16px 34px rgba(15, 98, 254, 0.22) !important;
}

#loadMorePosts:hover {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
}

#loadMorePosts:disabled {
  opacity: 0.7 !important;
  cursor: wait !important;
}

/* Show main banner post description */
.pb-hero-text p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #475569 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 10px 0 0 !important;
  max-width: 680px !important;
}

.pb-hero-text {
  padding-bottom: 30px !important;
}

/* Premium right banner post cards */
.pb-hero-list {
  gap: 12px !important;
  border-top: 4px solid #d97706 !important;
}

.pb-side-post {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border: 1px solid #dbe4f0 !important;
  border-left: 4px solid #0f62fe !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.pb-side-post:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14) !important;
  border-left-color: #d97706 !important;
}

.pb-side-post a {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  gap: 13px !important;
  align-items: center !important;
  min-height: 104px !important;
  padding: 12px !important;
}

.pb-side-img,
.pb-side-img img {
  width: 112px !important;
  height: 78px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.pb-side-img img {
  object-fit: cover !important;
}

.pb-side-content {
  min-width: 0 !important;
}

.pb-side-content span {
  display: block !important;
  margin-bottom: 5px !important;
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.pb-side-content h3,
.pb-side-post h3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 38px !important;
  margin: 0 0 6px !important;
  color: #0f172a !important;
  font-size: 15.5px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.15px !important;
}

.pb-side-content p {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 32px !important;
  margin: 0 !important;
  color: #475569 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

@media (max-width: 900px) {
  .pb-side-post a {
    grid-template-columns: 100px minmax(0, 1fr) !important;
  }

  .pb-side-img,
  .pb-side-img img {
    width: 100px !important;
    height: 72px !important;
  }
}