/* ============================
   cms-demo.css - Page layout
   Home + Users page
   No header or menu styles here
============================ */

/* =========================================================
   GLOBAL CMS DEMO STYLES
   Used for home + Users page
========================================================= */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f3f4f6;
}

/* main page wrapper for demo sections */

.cms-page {
  background: #f3f4f6;
}

/* shared container only for CMS demo sections */

.cms-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.cms-center {
  text-align: center;
}

/* small text bullet list */

.cms-bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #475569;
}

.cms-bullet-list li + li {
  margin-top: 0.25rem;
}

/* =========================================================
   HERO SECTION
========================================================= */

.cms-hero {
  position: relative;
  color: #0f172a;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background: radial-gradient(circle at top, #f6f9ff 0%, #ffffff 65%);
}

/* layout grid used in hero where needed */

.cms-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* text in hero */

.cms-hero-text {
  max-width: 560px;
}

.cms-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.cms-hero-title {
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1rem;
}

.cms-hero-desc {
  font-size: 1.05rem;
  color: #475569;
  margin: 0 0 1.5rem;
}

.cms-hero-actions {
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  margin-top: 10px;
}

.cms-btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  margin-top: 5px;
}

.cms-btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.cms-btn-primary:hover {
  background: #1d4ed8;
}

.cms-btn-outline {
  border-color: #cbd5f5;
  color: #2563eb;
  background: transparent;
}

.cms-btn-outline:hover {
  background: #eff6ff;
}

.cms-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}

.cms-hero-list li + li {
  margin-top: 0.25rem;
}

/* optional right side panel, if used */

.cms-hero-preview {
  display: flex;
  justify-content: center;
}

.cms-panel {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.cms-panel-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.cms-status {
  color: #16a34a;
  font-weight: 600;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.cms-panel-title {
  color: #64748b;
}

.cms-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cms-panel-item {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.85rem;
  color: #334155;
  background: #f9fafb;
  text-align: center;
}

/* =========================================================
   SECOND SECTION - FEATURES
========================================================= */

.cms-section {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.cms-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
}

.cms-section-desc {
  margin: 0 auto;
  max-width: 640px;
  color: #475569;
  font-size: 0.98rem;
}

.cms-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.cms-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  background: #ffffff;
}

.cms-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.cms-card p {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
}

/* =========================================================
   MODULES GRID - HOME /#modules
========================================================= */

.cms-modules {
  padding: 4rem 0 4.5rem;
  background: #f9fafb;
}

.cms-modules-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cms-modules-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.cms-modules-desc {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

/* tabs */

.cms-modules-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cms-modules-tab {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: #4b5563;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cms-modules-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #f3f4ff;
  color: #4f46e5;
}

.cms-modules-tab--active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.cms-modules-tab--active span {
  background: #ffffff;
  color: #2563eb;
}

/* grid - three cards per row */

.cms-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* module card */

.cms-module-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.cms-module-card:hover {
  border-color: #2563eb33;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.cms-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cms-module-icon {
  font-size: 1.25rem;
}

.cms-module-status {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #16a34a;
  font-weight: 600;
}

.cms-module-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem;
}

.cms-module-text {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 0.75rem;
}

.cms-module-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #6b7280;
  gap: 0.5rem;
}

.cms-module-records {
  opacity: 0.9;
}

.cms-module-link {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.cms-module-link:hover {
  text-decoration: underline;
}

/* uninstall block inside card */

.cms-module-actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cms-module-warning {
  font-size: 0.75rem;
  color: #b45309;
  flex: 1;
}

.cms-uninstall-btn {
  border-radius: 999px;
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.cms-uninstall-btn:hover {
  background: #fee2e2;
}

/* =========================================================
   USERS PAGE - LAYOUT
========================================================= */

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

.cms-page-header .cms-container {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.cms-page-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 0.4rem;
}

.cms-page-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cms-page-lead {
  max-width: 720px;
  font-size: 1rem;
  color: #475569;
  margin: 0;
}

/* sections inside page */

.cms-page-section {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.cms-page-section .cms-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.cms-page-section-alt {
  background: #ffffff;
}

/* grid between main text and aside */

.cms-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.cms-page-text h2 {
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
}

.cms-page-text p {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.6;
}

.cms-page-text p + p {
  margin-top: 0.7rem;
}

/* aside box */

.cms-page-aside {
  max-width: 360px;
}

.cms-keybox {
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.cms-keybox-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.cms-keybox-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.93rem;
  color: #4b5563;
}

.cms-keybox-list li + li {
  margin-top: 0.4rem;
}

/* =========================================================
   USERS PAGE - FEATURE GRID
========================================================= */

.cms-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

.cms-feature h2 {
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
}

.cms-feature p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.cms-feature ul {
  margin-top: 0.25rem;
}

/* =========================================================
   USERS PAGE - SCREENSHOTS GRID
========================================================= */

.cms-page-section-screens {
  background: #f9fafb;
}

.cms-screens-header h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.cms-screens-header p {
  margin: 0 0 2rem;
  max-width: 680px;
  color: #4b5563;
  font-size: 0.96rem;
}

.cms-screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.cms-shot {
  margin: 0;
  background: #ffffff;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.cms-shot-link {
  display: block;
  line-height: 0;
}

.cms-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.cms-shot-caption {
  padding: 0.9rem 1.1rem 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

/* =========================================================
   LIGHTBOX
========================================================= */

.cms-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}

.cms-lightbox.is-open {
  display: flex;
}

.cms-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
}

.cms-lightbox-body {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  background: #0b1120;
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.cms-lightbox-image {
  max-width: 88vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #020617;
}

.cms-lightbox-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.cms-lightbox-close {
  position: absolute;
  top: 0.3rem;
  right: 0.4rem;
  border: 0;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* =========================================================
   PRICING SECTION
========================================================= */

.cms-section-alt {
  background: #f7f9fc;
}

/* card grid wrapper */

.cms-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 2rem auto 0;
}

/* single pricing card */

.cms-pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.cms-pricing-card--highlight {
  border-color: #2563eb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

/* title and subtitle inside pricing card */

.cms-pricing-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.cms-price-label {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #64748b;
}

/* bullet list inside pricing card */

.cms-pricing-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: #0f172a;
}

.cms-pricing-list li + li {
  margin-top: 0.35rem;
}

/* button inside pricing card */

.cms-pricing-card .cms-btn {
  width: 100%;
  justify-content: center;
}

/* center heading and description above pricing cards */

.cms-section-alt .cms-section-title,
.cms-section-alt .cms-section-desc {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

  .cms-container {
    padding: 3.5rem 1.5rem;
  }

  .cms-hero {
    padding-top: 2.8rem;
    padding-bottom: 4rem;
  }

  .cms-hero-grid {
    grid-template-columns: 1fr;
  }

  .cms-hero-text {
    max-width: none;
  }

  .cms-modules-grid,
  .cms-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-page-grid {
    grid-template-columns: 1fr;
  }

  .cms-page-aside {
    max-width: none;
  }

  .cms-feature-grid,
  .cms-screens-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .cms-container {
    padding: 3rem 1rem;
  }

  .cms-hero {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .cms-hero-title {
    font-size: 1.9rem;
  }

  .cms-hero-actions {
    flex-direction: column;
  }

  .cms-modules-grid,
  .cms-cards {
    grid-template-columns: 1fr;
  }

  .cms-page-header .cms-container {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .cms-page-title {
    font-size: 1.7rem;
  }

  .cms-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* =========================================================
   HERO LAYOUT WITH IMAGE
========================================================= */

.cms-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

/* hero image on the right */

.cms-hero-image {
  display: flex;
  justify-content: flex-end;
}

.cms-hero-image img {
  max-width: 120%;
  height: auto;
  display: block;
}

/* mobile - hide hero image */

@media (max-width: 768px) {
  .cms-hero-inner {
    grid-template-columns: 1fr;
  }

  .cms-hero-image {
    display: none;
  }
}

/* small sub line under hero title */

.cms-hero-subline {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #334155;
}

/* ============================
   FOOTER - CENTERED ONE LINE
============================ */

.cms-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.cms-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
  flex-wrap: wrap;
}

/* remove left right split */
.cms-footer-left,
.cms-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* text */
.cms-footer-brand {
  font-size: 0.9rem;
  color: #475569;
  white-space: nowrap;
}

.cms-footer-text {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* links */
.cms-footer-link {
  font-size: 0.85rem;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}

.cms-footer-link:hover {
  text-decoration: underline;
}

/* 18+ label if present */
.cms-footer-18 {
  font-size: 0.8rem;
  color: #64748b;
  white-space: nowrap;
}

/* mobile view, still centered */
@media (max-width: 640px) {
  .cms-footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================
   DEVELOPER / TEAM ARTICLE
============================ */

/* layout */
.cms-dev-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

/* PHOTO BLOCK */
.cms-dev-photo-wrap {
  flex-shrink: 0;
  text-align: center;
}

.cms-dev-photo-wrap img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.75rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.cms-dev-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.cms-dev-linkedin {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.cms-dev-linkedin:hover {
  background: #1d4ed8;
}

/* TEXT BLOCK */
.cms-dev-info h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.cms-dev-info p {
  margin-bottom: 0.75rem;
  max-width: 720px;
}

.cms-dev-info ul {
  margin: 1rem 0 1.25rem;
  padding-left: 1.2rem;
}

.cms-dev-info li {
  margin-bottom: 0.4rem;
}

/* SECTIONS */
.cms-section-alt {
  background: #f8fafc;
}

/* CTA section already exists in your theme,
   just keep spacing consistent */
.cms-cta-section {
  text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {
  .cms-dev-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cms-dev-info ul {
    text-align: left;
    display: inline-block;
  }
}

/* ============================
   LAYOUT MODULE POSITIONS - VISUAL HELPERS
   Optional styles if you want to showcase positions
   like body_top, content_top, etc on the demo pages
============================ */

.cms-position-slot {
  position: relative;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin: 1.25rem 0;
  background: #f9fafb;
}

.cms-position-slot--subtle {
  border-style: dotted;
  background: #f9fafb;
}

.cms-position-label {
  position: absolute;
  top: -0.7rem;
  left: 0.9rem;
  padding: 0.1rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* small variants for different slots if you need color coding */

.cms-position-slot--body-top .cms-position-label {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #15803d;
}

.cms-position-slot--content-top .cms-position-label {
  background: #fef3c7;
  border-color: #fde68a;
  color: #b45309;
}

.cms-position-slot--content-bottom .cms-position-label {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.cms-position-slot--footer-top .cms-position-label {
  background: #f3e8ff;
  border-color: #e9d5ff;
  color: #7e22ce;
}
/* ============================
   LAYOUT MODULE POSITIONS
============================ */

.cms-position-area {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: #0f172a;
}

/* top of page */
.cms-position-area--body-top {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

/* under breadcrumb */
.cms-position-area--breadcrumb-bottom {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  color: #475569;
}

/* above main content, типичен инфо банер */
.cms-position-area--content-top {
  background: #eef2ff;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  font-weight: 500;
  color: #1e293b;
}

/* below main content, добре за CTA текст */
.cms-position-area--content-bottom {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
  text-align: center;
  color: #475569;
}

/* над футъра, лек разделителен блок */
.cms-position-area--footer-top {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* =========================================================
   HERO FINAL LAYOUT
   Balanced text + image, image pushed right, text opened
========================================================= */

.cms-hero {
  position: relative;
  overflow: hidden;
}

.cms-hero-inner {
  position: relative;
  display: flex;
  align-items: center; /* вертикално центриране спрямо текста */
  gap: 3.5rem;
}

/* текстът е основният фокус */
.cms-hero-text {
  position: relative;
  z-index: 2;
  max-width: 720px; /* повече въздух за текста */
}

/* контейнер на картинката */
.cms-hero-image {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* самата картинка */
.cms-hero-image img {
  width: 620px;
  max-width: 620px;
  height: auto;
  margin-left: -80px; /* дръпната още вдясно */
}

/* таблет и по-малки екрани */

@media (max-width: 1024px) {
  .cms-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .cms-hero-image {
    justify-content: center;
  }

  .cms-hero-image img {
    width: 100%;
    max-width: 520px;
    margin-left: 0;
  }
}

/* мобилен */

@media (max-width: 768px) {
  .cms-hero-text {
    max-width: none;
  }
}
