/*
Theme Name: OpenParser AI
Theme URI: https://www.openparser.ai
Author: Innovatix Technology Partners
Author URI: https://www.openparser.ai
Description: Official marketing theme for OpenParser AI
Version: 1.0.0
License: All Rights Reserved
Text Domain: openparser-ai
*/

:root {
  --op-orange: #f7941d;
  --op-dark: #1f1f1f;
  --op-grey: #f4f4f7;
  --op-text: #333333;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--op-text);
  background-color: white;
}

.navbar {
  background-color: var(--op-dark);
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
}

.navbar-brand span {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.navbar-logo {
  height: 60px;
  width: auto;
  margin-right: 0.55rem;
}

.top-nav-link {
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 0.75rem !important;
}

.top-nav-link:hover {
  color: var(--op-orange) !important;
}

.badge-orange {
  background-color: var(--op-orange);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
}

.badge-orange:hover {
  color: #fff;
  background-color: #ffac47;
}

.login-but {
  text-decoration: none;
  color: #fff;
}

.hero {
  background: radial-gradient(circle at top left, #ffb35a, var(--op-dark));
  color: #ffffff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.5)
  );
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 1.05rem + 0.9vw, 1.45rem);
  margin-top: 0.75rem;
  max-width: 44rem;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.intro-section-cta {
  gap: 0.75rem;
  align-items: center;
}

.hero-secondary-btn {
  border-radius: 1.5rem;
  padding-inline: 1.5rem;
  font-weight: 600;
}

.btn-orange {
  background-color: var(--op-orange);
  border-color: var(--op-orange);
  color: #1b1b1b;
  font-weight: 600;
  padding-inline: 1.75rem;
  border-radius: 1.5rem;
}

.btn-orange:hover {
  background-color: #ffac47;
  border-color: #ffac47;
  color: #111;
}

.hero-pill {
  background: rgba(15, 15, 15, 0.85);
  border-radius: 1.5rem;
  padding: 0.4rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.hero-pill span {
  font-weight: 600;
  color: var(--op-orange);
}

.hero-partner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-partner-label {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
  white-space: nowrap;
}

.hero-partner-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.hero-plans {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-plans-title {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.9;
}

.hero-plans-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-plan-pill {
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-plan-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-plan-sub {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.95;
}

.hero-plan-sep {
  opacity: 0.8;
  padding: 0 0.25rem;
}

.hero-image-card {
  background: rgba(10, 10, 10, 0.85);
  border-radius: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  max-width: 420px;
  margin-left: auto;
}

.hero-image-card img {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.section-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--op-dark);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--op-orange);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.section-subtitle {
  color: #555;
  max-width: 46rem;
}

.section-grey {
  background-color: var(--op-grey);
}

.icon-bullet {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: var(--op-orange);
  flex-shrink: 0;
}

.leaders-bullets li {
  line-height: 1.5;
}

.highlight-bullet-row {
  line-height: 1.5;
}

.feature-card,
.usecase-card,
.plan-card,
.faq-card {
  border-radius: 0.9rem;
  border: 1px solid #e1e1e8;
  background-color: #ffffff;
  padding: 1.25rem 1.4rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-number {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background-color: rgba(247, 148, 29, 0.12);
  color: var(--op-orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.plan-card.highlight {
  border-width: 2px;
  border-color: var(--op-orange);
  position: relative;
}

.plan-card.highlight::before {
  content: "Most Popular";
  position: absolute;
  top: -0.9rem;
  right: 1.4rem;
  background-color: var(--op-orange);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}

.plan-edition-card {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #e1e1e8;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-edition-header {
  background-color: var(--op-dark);
  color: #fff;
  padding: 1.25rem 1.4rem;
}

.plan-edition-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
}

.plan-edition-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.plan-edition-body {
  padding: 1.25rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-edition-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.plan-edition-features {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.plan-edition-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.plan-edition-features li::before {
  content: "";
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: calc(0.75em - 0.2rem);
  border-radius: 50%;
  background-color: var(--op-orange);
}

.plan-edition-subhead {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--op-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.5rem 0 0.35rem 0;
}

.plan-edition-pricing {
  margin-top: auto;
  padding: 1rem 0;
  border-top: 1px solid #e8e8ee;
  font-size: 0.95rem;
}

.plan-edition-card .plan-card-actions {
  padding-top: 0.5rem;
}

.plan-edition-card .plan-card-actions:not(.plan-card-actions-split) {
  justify-content: flex-start;
}

.pricing-text-new {
  font-size: 1.1rem;
  font-weight: 700;
}

.trial-period {
  font-size: 1rem;
  font-weight: 700;
  color:#e1820f;
}

.plan-card-actions-split {
  justify-content: space-between;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background-color: rgba(0, 0, 0, 0.04);
}

.formats-pill {
  background-color: #fff9f0;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #754013;
  border: 1px dashed #f4b772;
}

.formats-pill span {
  font-weight: 600;
  color: var(--op-orange);
}

.supported-formats {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.supported-title {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.9;
}

.supported-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.format-icon {
  min-width: 4.2rem;
  padding: 4px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.format-icon i {
  line-height: 1;
}

.format-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.format-icon:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.step-badge {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background-color: var(--op-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 0.45rem;
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem 0;
  color: var(--op-dark);
}

.theme-modal .modal-content {
  border-radius: 0.9rem;
  border: 1px solid #e1e1e8;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-content{
  border-radius: 0.9rem;
}

.theme-modal-header {
  background-color: var(--op-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  border-radius: 0.74rem 0.74rem 0 0;
}

.theme-modal-header .modal-title {
  font-weight: 700;
  font-size: 1.25rem;
}

.theme-modal .modal-body {
  padding: 1.5rem 1.25rem;
}

.modal-dialog-exit-intent {
  max-width: 750px;
}

.exit-intent-modal.modal-content {
  border: 1px solid #e1e1e8;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.exit-intent-modal .modal-body {
  padding: 0;
}

.exit-intent-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 30;
  padding: 0.7rem;
  opacity: 0.82;
  background-color: rgba(255, 255, 255, 0.97);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.exit-intent-close:hover {
  opacity: 1;
}

.exit-intent-layout {
  min-height: 500px;
}

.exit-intent-visual {
  position: relative;
  background: radial-gradient(
    circle at 22% 16%,
    #ffb35a 0%,
    var(--op-dark) 52%,
    #121212 100%
  );
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.85rem 3rem 0rem;
  overflow: hidden;
}

.exit-intent-wave {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: clamp(40px, 7.5vw, 68px);
  z-index: 2;
  pointer-events: none;
}

.exit-intent-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 280px;
}

.exit-intent-logo {
  width: min(220px, 85%);
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

.exit-intent-live-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.35rem;
  text-align: center;
}

.exit-intent-live-line1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1.45rem, 1.15rem + 1.35vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.exit-intent-live-emoji {
  font-size: 1.2em;
  line-height: 1;
}

.exit-intent-copy {
  background: #ffffff;
}

.exit-intent-copy-inner {
  padding: 3.15rem 2.85rem 3rem 0rem;
  padding-top: 3.35rem;
}

.exit-intent-heading {
  font-size: clamp(1.28rem, 1.05rem + 1.1vw, 1.68rem);
  font-weight: 800;
  color: var(--op-dark);
  line-height: 1.28;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.exit-intent-heading-line {
  display: block;
}

.exit-intent-heading-accent {
  display: block;
  margin-top: 0.35rem;
  color: var(--op-orange);
}

.exit-intent-sub {
  font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.55;
  color: #555555;
  font-weight: 600;
  margin-bottom: 2.35rem;
}

.exit-intent-cta {
  border-radius: 0.65rem;
  font-weight: 700;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  width: 94%;
}

.exit-intent-footnote {
  margin-top: 1.35rem;
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1.02rem);
  font-weight: 600;
  color: #525252;
  text-align: left;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .exit-intent-wave {
    display: block;
  }

  .exit-intent-visual {
    padding-right: 2.5rem;
  }
}

.modal-backdrop.promo-modal-backdrop {
  --bs-backdrop-opacity: 0.78;
}

.theme-modal .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#hubspot-contact-form .hs-button {
  background-color: var(--op-orange) !important;
  border-color: var(--op-orange) !important;
  color: #1b1b1b !important;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}

#hubspot-contact-form .hs-button:hover {
  background-color: #ffac47 !important;
  border-color: #ffac47 !important;
}

#hubspot-brochure-form .hs-button {
  background-color: var(--op-orange) !important;
  border-color: var(--op-orange) !important;
  color: #1b1b1b !important;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}

#hubspot-brochure-form .hs-button:hover {
  background-color: #ffac47 !important;
  border-color: #ffac47 !important;
}

.theme-modal .hs-form-frame {
  width: 100%;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #ffffff;
}

.theme-modal .hs-form-frame iframe {
  width: 100% !important;
  border: 0 !important;
  min-height: 520px;
  display: block;
  background: #ffffff;
}

.theme-modal .hs-form-frame .hs-button {
  background-color: var(--op-orange) !important;
  border-color: var(--op-orange) !important;
  color: #1b1b1b !important;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.5rem 1.25rem;
}

.theme-modal .hs-form-frame .hs-button:hover {
  background-color: #ffac47 !important;
  border-color: #ffac47 !important;
}

footer {
  background-color: var(--op-dark);
  color: #bbbbbb;
  padding: 1.8rem 0;
  font-size: 0.95rem;
}

footer a {
  color: #dddddd;
  text-decoration: none;
}

footer a:hover {
  color: var(--op-orange);
}

.footer-company {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.footer-innovatix-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-innovatix-logo-block {
  display: block;
  margin: 0 0 0.6rem 0;
}

.footer-address {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .hero {
    text-align: center;
  }
  .hero-inner,
  .hero-inner-left {
    text-align: center;
  }
  .hero-partner {
    justify-content: center;
  }
  .hero-plans {
    align-items: center;
  }
  .hero-plans-pills {
    justify-content: center;
  }
  .hero-plan-pill {
    white-space: normal;
    text-align: center;
  }
  .hero-pill {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .hero-image-card {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 2.1rem;
  }

  .exit-intent-copy-inner {
    padding: 2.75rem 1.5rem 2.35rem;
    padding-top: 3rem;
  }

  .exit-intent-visual {
    padding: 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .exit-intent-layout {
    min-height: 0;
  }

  .supported-formats {
    align-items: center;
  }
  .supported-icons {
    justify-content: center;
  }
  .navbar .navbar-container {
    flex-wrap: wrap;
  }
  .navbar-toggler-right {
    margin-left: auto;
  }
  .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    width: 100%;
    order: 99;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 0;
    margin-right: 0;
  }
  .navbar-collapse .navbar-nav {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .navbar-collapse .nav-link {
    padding: 0.5rem 0 !important;
  }
  .navbar-collapse .nav-item {
    width: 100%;
  }
  .navbar-collapse .nav-link {
    display: block;
  }
  .footer-address,
  .footer-copyright,
  .footer-contact {
    font-size: 0.95rem;
  }
  .footer-innovatix-logo-block {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact {
    word-break: break-word;
  }
  .footer-sep {
    display: inline;
  }
}

.footer-address {
  font-size: 1rem;
}

.footer-contact a {
  color: #dddddd;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--op-orange);
}

.footer-copyright {
  word-break: normal;
  overflow-wrap: normal;
}

.footer-links a {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .hero-inner-left {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-inner-right {
    display: none;
  }
}

/* ========================================
   Blog — listing & single post
   ======================================== */

.blog-page-wrap {
  background-color: var(--op-grey);
  min-height: 60vh;
}

.blog-archive-header {
  border-bottom: 2px solid #e1e1e8;
  padding-bottom: 1rem;
}

/* Post card */
.blog-post-card {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease;
}

.blog-post-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.blog-post-thumbnail-wrap {
  display: block;
}

.blog-post-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-post-card-body {
  padding: 1.4rem;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
}

.blog-cat-badge {
  background-color: rgba(247, 148, 29, 0.12);
  color: var(--op-orange);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-cat-badge:hover {
  background-color: var(--op-orange);
  color: #fff;
}

.blog-post-date,
.blog-post-author {
  color: #888;
  font-size: 0.82rem;
}

.blog-post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem 0;
  line-height: 1.35;
}

.blog-post-title a {
  color: var(--op-dark);
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--op-orange);
}

.blog-post-excerpt {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.blog-post-excerpt p {
  margin: 0;
}

/* Pagination */
.blog-pagination {
  margin-top: 1.5rem;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  border-radius: 0.5rem;
  background: #ffffff;
  border: 1px solid #e1e1e8;
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background-color: var(--op-orange);
  border-color: var(--op-orange);
  color: #fff;
}

/* ========================================
   Sidebar
   ======================================== */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 0.9rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--op-dark);
  margin: 0 0 1rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--op-orange);
}

/* Sidebar search */
.sidebar-widget .search-form {
  display: flex;
  gap: 0.4rem;
}

.sidebar-widget .search-field {
  flex: 1;
  border: 1px solid #e1e1e8;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
}

.sidebar-widget .search-field:focus {
  border-color: var(--op-orange);
}

.sidebar-widget .search-submit {
  background-color: var(--op-orange);
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.sidebar-widget .search-submit:hover {
  background-color: #ffac47;
}

/* Sidebar recent posts */
.sidebar-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-post-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f4;
}

.sidebar-post-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-post-list a {
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.sidebar-post-list a:hover {
  color: var(--op-orange);
}

.sidebar-post-date {
  font-size: 0.78rem;
  color: #999;
}

/* Sidebar categories */
.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-cat-list li {
  display: flex;
  justify-content: space-between;
}

.sidebar-cat-list a {
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.sidebar-cat-list a:hover {
  color: var(--op-orange);
}

/* Sidebar tags */
.sidebar-tags a {
  display: inline-block;
  margin: 0.2rem 0.15rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #f0f0f4;
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.sidebar-tags a:hover {
  background-color: var(--op-orange);
  color: #fff;
}

/* ========================================
   Single post
   ======================================== */

.blog-back-link {
  color: var(--op-orange);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-back-link:hover {
  color: #ffac47;
}

.op-single-post {
  background: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 0.9rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.op-single-post-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--op-dark);
  line-height: 1.25;
  margin: 0.5rem 0 1.25rem 0;
}

.op-single-post-thumbnail img {
  border-radius: 0.75rem;
}

.op-single-post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.op-single-post-content h2,
.op-single-post-content h3,
.op-single-post-content h4 {
  font-weight: 700;
  color: var(--op-dark);
  margin-top: 1.75rem;
}

.op-single-post-content p {
  margin-bottom: 1.1rem;
}

.op-single-post-content ul,
.op-single-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.op-single-post-content a {
  color: var(--op-orange);
  text-decoration: underline;
}

.op-single-post-content a:hover {
  color: #ffac47;
}

.op-single-post-content blockquote {
  border-left: 4px solid var(--op-orange);
  padding: 0.75rem 1.25rem;
  background: #fff9f0;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

.op-single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Post tags */
.op-single-post-tags {
  padding-top: 1.25rem;
  border-top: 1px solid #e1e1e8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.blog-tag-badge {
  background: #f0f0f4;
  color: var(--op-dark);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 500;
}

.blog-tag-badge:hover {
  background-color: var(--op-orange);
  color: #fff;
}

/* Post prev/next navigation */
.op-single-post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e1e1e8;
}

.op-single-post-nav-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.op-single-post-nav-item.next {
  text-align: right;
}

.op-single-post-nav-item .nav-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 700;
}

.op-single-post-nav-item a {
  color: var(--op-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.35;
}

.op-single-post-nav-item a:hover {
  color: var(--op-orange);
}
