/*
 * dev-websoltan.com — Reusable UI components
 * Requires base.css and its --ws-* design tokens.
 * Load after base.css. This file provides styling only; it does not add
 * WordPress markup or JavaScript behaviour.
 */

/* --------------------------------------------------------------------------
   Buttons and action links
   -------------------------------------------------------------------------- */
.ws-button,
a.ws-button,
button.ws-button,
input.ws-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-2);
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--ws-radius-md);
  background: var(--ws-color-primary);
  color: #fff;
  font: inherit;
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-bold);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--ws-transition-base),
    border-color var(--ws-transition-base),
    color var(--ws-transition-base),
    box-shadow var(--ws-transition-base),
    transform var(--ws-transition-base);
}

.ws-button:hover,
a.ws-button:hover,
button.ws-button:hover,
input.ws-button:hover,
.wp-block-button__link:hover {
  border-color: var(--ws-color-primary-hover);
  background: var(--ws-color-primary-hover);
  color: #fff;
  box-shadow: var(--ws-shadow-sm);
  transform: translateY(-1px);
}

.ws-button:active,
.wp-block-button__link:active {
  transform: translateY(0);
}

.ws-button--secondary,
a.ws-button--secondary {
  border-color: var(--ws-color-primary);
  background: #fff;
  color: var(--ws-color-primary);
}

.ws-button--secondary:hover,
a.ws-button--secondary:hover {
  border-color: var(--ws-color-primary);
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary-hover);
}

.ws-button--soft,
a.ws-button--soft {
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}

.ws-button--soft:hover,
a.ws-button--soft:hover {
  background: #dfeaff;
  color: var(--ws-color-primary-hover);
}

.ws-button--dark,
a.ws-button--dark {
  background: var(--ws-color-navy-dark);
  color: #fff;
}

.ws-button--dark:hover,
a.ws-button--dark:hover {
  border-color: var(--ws-color-navy-dark);
  background: var(--ws-color-navy);
  color: #fff;
}

.ws-button--small,
a.ws-button--small {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: var(--ws-radius-sm);
  font-size: var(--ws-font-size-xs);
}

.ws-button--large,
a.ws-button--large {
  min-height: 50px;
  padding: 14px 24px;
  font-size: var(--ws-font-size-base);
}

.ws-button--full {
  width: 100%;
}

.ws-text-link,
a.ws-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ws-color-primary);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-bold);
  text-decoration: none;
}

.ws-text-link:hover,
a.ws-text-link:hover {
  color: var(--ws-color-primary-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ws-text-link svg {
  width: 20px;  /* Ajustează mărimea după bunul plac */
  height: 20px;
  transition: transform 0.2s ease; /* Efect fluid pentru hover */
}

/* Efect de animație la hover (săgeata se mișcă puțin la dreapta) */
.ws-text-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Site header and navigation
   -------------------------------------------------------------------------- */
.ws-site-header {
  position: relative;
  z-index: var(--ws-z-header);
  min-height: var(--ws-header-height);
  border-bottom: 1px solid var(--ws-color-border);
  background: rgb(255 255 255 / 94%);
}

.ws-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-6);
  width: min(100% - (var(--ws-container-gutter) * 2), var(--ws-container-width));
  min-height: var(--ws-header-height);
  margin-inline: auto;
}




.ws-site-header .ws-site-brand
 {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ws-color-navy);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: var(--ws-font-weight-extrabold);
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;	 
}



.ws-site-brand__mark {
  color: var(--ws-color-primary);
  font-size: 1.5em;
  line-height: 1;
      max-width: none;
    height: auto;
    width: 40px;	
}

.ws-site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
}

.ws-site-nav__link,
a.ws-site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--ws-header-height);
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
  text-decoration: none;
  transition: color var(--ws-transition-fast);
}

.ws-site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--ws-color-primary);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ws-transition-base);
}

.ws-site-nav__link:hover,
.ws-site-nav__link[aria-current="page"],
.ws-site-nav__link.is-current {
  color: var(--ws-color-primary);
}

.ws-site-nav__link:hover::after,
.ws-site-nav__link[aria-current="page"]::after,
.ws-site-nav__link.is-current::after {
  transform: scaleX(1);
}

.ws-site-header__action {
  flex: 0 0 auto;
}

/* Add/remove .is-open with JavaScript if using a mobile menu toggle. */
.ws-menu-toggle {
  display: none;
  flex-direction: column;          
  align-items: center;
  justify-content: center;
  gap: 4px;                       
  width: 48px;
  height: 44px;
  padding: 0;                      
  background: transparent;
  color: var(--ws-color-navy);
  cursor: pointer;                
}

.ws-menu-toggle span {
  position: static;              
  display: block;
  flex: none;                      
  width: 35px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--ws-transition-base), opacity var(--ws-transition-fast);
}
.ws-site-header .ws-menu-toggle span:nth-child(1) { top: 13px; }
.ws-site-header .ws-menu-toggle span:nth-child(2) { top: 20px; }
.ws-site-header .ws-menu-toggle span:nth-child(3) { top: 27px; }

.ws-menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ws-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.ws-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero and section headings
   -------------------------------------------------------------------------- */
.ws-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
  background:
    radial-gradient(ellipse at 82% 36%, rgb(219 234 254 / 48%), transparent 33%),
    var(--ws-color-background);
}

.ws-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  width: min(100% - (var(--ws-container-gutter) * 2), var(--ws-container-width));
  margin-inline: auto;
}

.ws-hero__content {
  min-width: 0;
}

.ws-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--ws-space-4);
  color: var(--ws-color-primary);
  font-size: var(--ws-font-size-xs);
  font-weight: var(--ws-font-weight-extrabold);
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ws-hero__title {
  max-width: 760px;
  margin-bottom: var(--ws-space-5);
  color: var(--ws-color-navy);
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  font-weight: var(--ws-font-weight-extrabold);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.ws-hero__title .is-highlight {
  color: var(--ws-color-primary);
}

.ws-hero__description {
  max-width: 590px;
  margin-bottom: var(--ws-space-6);
  color: var(--ws-color-text);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.7;
}

.ws-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ws-space-3);
}

.ws-hero__visual {
  min-width: 0;
}

.ws-hero__visual img,
.ws-hero__visual svg {
  width: 100%;
  height: auto;
}

.ws-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--ws-space-5);
  margin-bottom: var(--ws-space-6);
}

.ws-section-heading__title {
  margin-bottom: var(--ws-space-2);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.ws-section-heading__description {
  max-width: 660px;
  color: var(--ws-color-text);
  font-size: var(--ws-font-size-sm);
}

.ws-code-window {
  --code-bg: #0f1b3d;
  --code-bar: #16244d;
  --code-line: rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--code-bg);
  box-shadow:
    0 24px 48px -12px rgba(15, 27, 61, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ws-code-window__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  height: 44px;
  background: var(--code-bar);
  border-bottom: 1px solid var(--code-line);
}

.ws-code-window__dots {
  display: flex;
  gap: 7px;
}
.ws-code-window__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.ws-code-window__dots i:nth-child(2) { background: #febc2e; }
.ws-code-window__dots i:nth-child(3) { background: #28c840; }

.ws-code-window__tab {
  padding: 6px 14px;
  border-radius: 6px 6px 0 0;
  background: var(--code-bg);
  color: #93c5fd;
  font: 500 12px/1 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  align-self: flex-end;
}

.ws-code-window__body {
  margin: 0;
  padding: 22px 24px 26px 0;
  overflow-x: auto;
  color: #cbd5e1;
  font: 400 14px/1.85 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  tab-size: 2;
}
.ws-code-window__body code { display: block; font: inherit; }

/* numere de rând */
.ws-code-window .ln {
  display: inline-block;
  width: 44px;
  margin-right: 18px;
  padding-right: 12px;
  text-align: right;
  color: #5b6a8f;
  border-right: 1px solid var(--code-line);
  user-select: none;
}

/* culori sintaxă */
.ws-code-window .k { color: #60a5fa; }  /* const */
.ws-code-window .v { color: #f8fafc; }  /* variabilă */
.ws-code-window .a { color: #7dd3fc; }  /* chei */
.ws-code-window .s { color: #86efac; }  /* texte */
.ws-code-window .p { color: #94a3b8; }  /* punctuație */

@media (max-width: 640px) {
  .ws-code-window__body { font-size: 12.5px; }
  .ws-code-window .ln { width: 32px; margin-right: 12px; }
}


/* --------------------------------------------------------------------------
   Service, skill and project cards
   -------------------------------------------------------------------------- */
.ws-grid {
  display: grid;
  gap: var(--ws-space-5);
}

.ws-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ws-card {
  min-width: 0;
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-lg);
  background: #fff;
  box-shadow: var(--ws-shadow-sm);
  transition:
    border-color var(--ws-transition-base),
    box-shadow var(--ws-transition-base),
    transform var(--ws-transition-base);
}

.ws-card--hover:hover {
  border-color: var(--ws-color-primary-border);
  box-shadow: var(--ws-shadow-md);
  transform: translateY(-3px);
}

.ws-service-card {
  display: flex;
  align-items: flex-start;
  gap: var(--ws-space-4);
  padding: var(--ws-space-5);
}

.ws-service-card__icon {
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  /*border: 1px solid var(--ws-color-border);
 background: var(--ws-color-surface);
  border-radius: 16px;
 */
  color: var(--ws-color-primary);
  font-size: 1.5rem;
}

.ws-service-card__title {
  margin-bottom: var(--ws-space-2);
  font-size: var(--ws-font-size-base);
  letter-spacing: -0.02em;
}

.ws-service-card__text {
  color: var(--ws-color-text);
  font-size: var(--ws-font-size-sm);
  line-height: 1.6;
}

.ws-skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ws-space-2);
  padding: var(--ws-space-4);
  border: 1px solid transparent;
  border-radius: var(--ws-radius-lg);
  background: var(--ws-color-surface);
  color: var(--ws-color-navy);
  text-align: center;
}

.ws-skill-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: var(--ws-radius-lg);
  background: #fff;
}

.ws-skill-card__icon img,
.ws-skill-card__icon svg {
  width: 34px;
  height: 34px;
  object-fit: contain;
}



.ws-skill-card__name {
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-bold);
}

.ws-project-card {
  overflow: hidden;
}

.ws-project-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ws-color-surface-alt);
}

.ws-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.ws-project-card:hover .ws-project-card__media img {
  transform: scale(1.035);
}

.ws-project-card__body {
  padding: var(--ws-space-5);
}

.ws-project-card__title {
  margin-bottom: var(--ws-space-2);
  font-size: var(--ws-font-size-lg);
}

.ws-project-card__title a {
  color: var(--ws-color-navy);
  text-decoration: none;
}

.ws-project-card__title a:hover {
  color: var(--ws-color-primary);
}

.ws-project-card__description {
  margin-bottom: var(--ws-space-4);
  color: var(--ws-color-text);
  font-size: var(--ws-font-size-sm);
  line-height: 1.65;
}

.projects-all .ws-project-card {
  display: flex;
  flex-direction: column;
}

.projects-all .ws-project-card__body {
  flex: 1 1 auto;
}

.ws-project-card__media {
  display: block;
}

.ws-project-card__footer {
  padding: 0 var(--ws-space-5) var(--ws-space-5);
}

.ws-project-card .ws-tag-list {
  margin-top: var(--ws-space-3);
}


.html {
	fill: #E34F26;
}
.css {
	fill: #1572B6;
}
.bootstrap {
	fill: #7952B3;
}

.drupal {
	fill: #009CDE;
}

.js {
	fill: #F7DF1E;
}

.jq {
	fill: #0769AD;
}

.vue {
	fill: #4FC08D;
}

.nuxt {
	fill: #00DC82;
}

.php {
	fill: #777BB4;
}

.wp {
	fill: #21759B;
}

/* Technologies strip */
.ws-tech {
  padding-block: var(--ws-space-5);
  border-block: 1px solid var(--ws-color-border);
  background: linear-gradient(90deg, #eaf6f4 0%, #eef5fc 100%);
}

.ws-tech__title {
  margin: 0 0 var(--ws-space-3);
  color: var(--ws-color-text-muted);
  font-size: 0.6875rem;
  font-weight: var(--ws-font-weight-bold);
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ws-tech__list {
  display: flex;
  flex-wrap: nowrap;           
  align-items: center;
}

.ws-tech__item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-3);
  min-width: 0;
  padding: var(--ws-space-2) var(--ws-space-4);
  border-left: 1px solid var(--ws-color-border-strong);
}
.ws-tech__item:first-child { border-left: 0; padding-left: 0; justify-content: flex-start; }

.ws-tech__icon svg,
.ws-tech__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ws-tech__name {
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
  white-space: nowrap;
}


@media (max-width: 1100px) {
  .ws-tech__list { flex-wrap: wrap; row-gap: var(--ws-space-3); }
  .ws-tech__item { flex: 1 1 25%; border-left: 0; justify-content: flex-start; padding-left: 0; }
}
@media (max-width: 560px) {
  .ws-tech__item { flex-basis: 50%; }
}

.ws-order__grid {
  align-items: center;       
}

.ws-order__action {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .ws-order__action { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   Blog listing, featured article and article cards
   -------------------------------------------------------------------------- */

/* Blog hero: vizual decorativ */
.ws-blog-hero {
  position: relative;
  overflow: hidden;
 background-color:#FCFDFD;
}

.ws-blog-hero__visual {
  flex: 0 1 460px;
  min-width: 0;
}

.ws-blog-hero__visual img {
  display: block;
  width: 100%;
  max-height: 320px;
  margin-left: auto;
  object-fit: contain;
}

@media (max-width: 820px) {
  .ws-blog-hero {
    padding-block: 48px;
  }

  .ws-blog-hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .ws-blog-hero__title {
    font-size: clamp(2.4rem, 9vw, 3.25rem);
  }

  
}










.ws-blog-hero {
  padding-block: clamp(42px, 6vw, 72px) var(--ws-space-6);
}

.ws-blog-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 80px);
}

.ws-blog-hero__copy {
  flex: 1 1 55%;
  min-width: 0;
  max-width: 680px;
}

.ws-blog-hero .eyebrow {
  margin-bottom: var(--ws-space-4);
  font-size: 0.8rem;
  font-weight: var(--ws-font-weight-bold);
  letter-spacing: 0.12em;
}

.ws-blog-hero__title {
  margin: 0;
  color: var(--ws-color-navy);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: var(--ws-font-weight-extrabold);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.ws-blog-hero__description {
  max-width: 620px;
  margin-top: 22px;
  color: var(--ws-color-text);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}


.ws-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-4);
  padding-block: var(--ws-space-4);
  border-bottom: 1px solid var(--ws-color-border);
}

.ws-category-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ws-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-category-pill,
a.ws-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--ws-radius-pill);
  background: var(--ws-color-surface);
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-xs);
  font-weight: var(--ws-font-weight-semibold);
  line-height: 1.25;
  text-decoration: none;
  transition:
    background-color var(--ws-transition-fast),
    color var(--ws-transition-fast),
    border-color var(--ws-transition-fast);
}

.ws-category-pill:hover,
a.ws-category-pill:hover {
  border-color: var(--ws-color-primary-border);
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}

.ws-category-pill[aria-current="page"],
.ws-category-pill.is-active {
  background: var(--ws-color-primary);
  color: #fff;
}

.ws-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: var(--ws-space-6);
  padding-block: var(--ws-space-5) var(--ws-space-12);
}

.ws-blog-main {
  min-width: 0;
}

.ws-blog-sidebar {
  min-width: 0;
  padding-left: var(--ws-space-5);
  border-left: 1px solid var(--ws-color-border);
}

.ws-featured-article {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: var(--ws-space-6);
  margin-bottom: var(--ws-space-6);
  padding: var(--ws-space-4);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-xl);
  background: linear-gradient(120deg, var(--ws-color-surface), #fff);
  box-shadow: var(--ws-shadow-sm);
}

.ws-featured-article__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--ws-radius-lg);
  background: var(--ws-color-surface-alt);
}

.ws-featured-article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-featured-article__body {
  min-width: 0;
  padding: var(--ws-space-2) var(--ws-space-3) var(--ws-space-2) 0;
}

.ws-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: var(--ws-space-3);
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-xs);
  line-height: 1.4;
}

.ws-article-meta__category {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: var(--ws-radius-pill);
  background: #e7f0ff;
  color: var(--ws-color-primary-hover);
  font-size: 0.6875rem;
  font-weight: var(--ws-font-weight-extrabold);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.ws-featured-article__title {
  margin-bottom: var(--ws-space-3);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.25;
}

.ws-featured-article__title a,
.ws-article-card__title a {
  color: var(--ws-color-navy);
  text-decoration: none;
}

.ws-featured-article__title a:hover,
.ws-article-card__title a:hover {
  color: var(--ws-color-primary);
}

.ws-featured-article__excerpt {
  margin-bottom: var(--ws-space-4);
  color: var(--ws-color-text);
  line-height: 1.7;
}

.ws-article-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: var(--ws-space-2);
}

.ws-article-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: var(--ws-space-4);
  min-width: 0;
  padding: var(--ws-space-4);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-lg);
  border-radius: var(--ws-radius-xl);
  background: linear-gradient(120deg, var(--ws-color-surface), #fff);
  box-shadow: var(--ws-shadow-sm);	
  margin-bottom: var(--ws-space-6);	
  transition:
    border-color var(--ws-transition-base),
    box-shadow var(--ws-transition-base),
    transform var(--ws-transition-base);
}

.ws-article-card:hover {
  border-color: var(--ws-color-primary-border);
  box-shadow: var(--ws-shadow-md);
  transform: translateY(-2px);
}

.ws-article-card__media {
  overflow: hidden;
  align-self: start;
  aspect-ratio: 1 / 1;
  border-radius: var(--ws-radius-md);
  background: var(--ws-color-surface-alt);
}

.ws-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-article-card__body {
  min-width: 0;
  padding-block: 2px;
}

.ws-article-card__title {
  margin-bottom: var(--ws-space-2);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.ws-article-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: var(--ws-space-3);
  color: var(--ws-color-text);
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ws-article-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ws-color-primary);
  font-weight: var(--ws-font-weight-bold);
  text-decoration: none;
}

.ws-article-card__read-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sidebar blocks */
.ws-sidebar-section + .ws-sidebar-section {
  margin-top: var(--ws-space-8);
}

.ws-sidebar-section__title {
  margin-top: var(--ws-space-3);
  margin-bottom: var(--ws-space-3);
  font-size: var(--ws-font-size-lg);
  letter-spacing: -0.025em;
}

.ws-topic-list,
.ws-recent-posts {
  display: grid;
  gap: var(--ws-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-topic-link,
a.ws-topic-link {
  display: flex;
  align-items: center;
  gap: var(--ws-space-3);
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--ws-radius-md);
  background: var(--ws-color-surface);
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
  text-decoration: none;
  transition: background-color var(--ws-transition-fast), color var(--ws-transition-fast);
}

.ws-topic-link:hover,
a.ws-topic-link:hover {
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}

.ws-topic-link__icon {
  display: inline-grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  color: var(--ws-color-primary);
}

.ws-recent-post {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: start;
  gap: var(--ws-space-3);
  padding-block: var(--ws-space-2);
}

.ws-recent-post__media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--ws-radius-sm);
  background: var(--ws-color-surface-alt);
}

.ws-recent-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-recent-post__title {
  margin-bottom: 5px;
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
  line-height: 1.45;
}

.ws-recent-post__title a {
  color: var(--ws-color-navy);
  text-decoration: none;
}

.ws-recent-post__title a:hover {
  color: var(--ws-color-primary);
}

.ws-recent-post__date {
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-xs);
}

/* Search field */
.ws-search-form {
  display: flex;
  align-items: center;
  gap: var(--ws-space-2);
  width: min(100%, 360px);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-md);
  background: #fff;
  transition: border-color var(--ws-transition-fast), box-shadow var(--ws-transition-fast);
}

.ws-search-form:focus-within {
  border-color: var(--ws-color-primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
}

.ws-search-form__icon {
  flex: 0 0 auto;
  color: var(--ws-color-text-muted);
}

.ws-search-form input[type="search"],
.ws-search-form input[type="text"] {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  box-shadow: none;
}

.ws-search-form input::placeholder {
  color: var(--ws-color-text-muted);
  opacity: 1;
}

/* Pagination */
.ws-pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--ws-space-2);
  margin-top: var(--ws-space-8);
}

.ws-pagination a,
.ws-pagination span,
.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-md);
  background: #fff;
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
  text-decoration: none;
}

.ws-pagination a:hover,
.nav-links a:hover {
  border-color: var(--ws-color-primary-border);
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}

.ws-pagination .current,
.nav-links .current {
  border-color: var(--ws-color-primary);
  background: var(--ws-color-primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Single article and WordPress content
   -------------------------------------------------------------------------- */
/* Single post: articol + sidebar */
.ws-single-post .ws-article-header {
  max-width: none;
  margin: 0 0 var(--ws-space-6);
  text-align: left;
}

.ws-single-post .ws-article-header__title {
  margin-top: var(--ws-space-3);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
}

.ws-single-post .ws-article-featured-image {
  margin-bottom: var(--ws-space-6);
}

/* conținutul umple coloana din stânga, nu mai e centrat la 780px */
.ws-single-post .ws-entry-content {
  width: 100%;
  margin-inline: 0;
}

.ws-single-post .post-navigation {
  margin-top: var(--ws-space-10);
  padding-top: var(--ws-space-5);
  border-top: 1px solid var(--ws-color-border);
}

.ws-single-post .post-navigation .nav-links {
  justify-content: space-between;
  margin-top: 0;
}


.ws-article-header {
  max-width: 900px;
  margin: 0 auto var(--ws-space-8);
  text-align: center;
}

.ws-article-header__title {
  margin-bottom: var(--ws-space-4);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.ws-article-header__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ws-space-3);
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-sm);
}

.ws-article-featured-image {
  overflow: hidden;
  margin-bottom: var(--ws-space-8);
  border-radius: var(--ws-radius-xl);
  background: var(--ws-color-surface-alt);
}

.ws-article-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.ws-entry-content {
  width: min(100%, var(--ws-content-width));
  margin-inline: auto;
  color: var(--ws-color-text-strong);
  font-size: 1.0625rem;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.ws-entry-content > * + * {
  margin-top: 1.25em;
}

.ws-entry-content h2,
.ws-entry-content h3,
.ws-entry-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
}

.ws-entry-content a {
  font-weight: var(--ws-font-weight-semibold);
}

.ws-entry-content img,
.ws-entry-content figure,
.ws-entry-content video,
.ws-entry-content iframe {
  max-width: 100%;
}

.ws-entry-content img {
  border-radius: var(--ws-radius-md);
}

.ws-entry-content blockquote {
  margin-inline: 0;
  padding: var(--ws-space-4) var(--ws-space-5);
  border-left: 4px solid var(--ws-color-primary);
  border-radius: 0 var(--ws-radius-md) var(--ws-radius-md) 0;
  background: var(--ws-color-surface);
  color: var(--ws-color-navy);
}

.ws-entry-content pre,
.ws-entry-content .wp-block-code {
  overflow-x: auto;
  padding: var(--ws-space-5);
  border: 1px solid #233a5b;
  border-radius: var(--ws-radius-lg);
  background: #10213b;
  color: #e6efff;
  font-size: var(--ws-font-size-sm);
  line-height: 1.65;
  tab-size: 2;
}

.ws-entry-content code {
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: var(--ws-color-surface-alt);
  color: var(--ws-color-navy);
  font-size: 0.88em;
}

.ws-entry-content pre code,
.ws-entry-content .wp-block-code code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.ws-entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ws-font-size-sm);
}

.ws-entry-content th,
.ws-entry-content td {
  padding: 10px 12px;
  border: 1px solid var(--ws-color-border);
  text-align: left;
}

.ws-entry-content th {
  background: var(--ws-color-surface);
  color: var(--ws-color-navy);
}

/* Single project */
.ws-single-project {
  padding-block: clamp(40px, 6vw, 80px);
}

.ws-single-project .ws-article-header {
  max-width: 820px;
  margin-bottom: var(--ws-space-8);
}

.ws-single-project__tags {
  justify-content: center;
  margin-top: var(--ws-space-4);
}

.ws-single-project .ws-article-featured-image {
  max-width: 1040px;
  margin: 0 auto var(--ws-space-10);
  border: 1px solid var(--ws-color-border);
  box-shadow: var(--ws-shadow-md);
}

.ws-single-project .ws-article-featured-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.ws-single-project__footer {
  width: min(100%, var(--ws-content-width));
  margin: var(--ws-space-12) auto 0;
  padding-top: var(--ws-space-5);
  border-top: 1px solid var(--ws-color-border);
}

/* --------------------------------------------------------------------------
   Forms and contact sections
   -------------------------------------------------------------------------- */
.hero-contact {
  background-color:#F6FAFE;
}

.ws-form,
.wpcf7 form {
  display: grid;
  gap: var(--ws-space-4);
}

.ws-form__field,
.wpcf7 form p {
  display: grid;
  gap: var(--ws-space-2);
  margin: 0;
}

.ws-form label,
.wpcf7 form label {
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
}

.ws-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ws-form select,
.ws-form textarea,
.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--ws-color-border-strong);
  border-radius: var(--ws-radius-md);
  outline: 0;
  background: #fff;
  color: var(--ws-color-navy);
  font: inherit;
  font-size: var(--ws-font-size-sm);
  transition: border-color var(--ws-transition-fast), box-shadow var(--ws-transition-fast);
}

.ws-form textarea,
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.ws-form input:focus,
.ws-form select:focus,
.ws-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--ws-color-primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 11%);
}

.ws-form input::placeholder,
.ws-form textarea::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--ws-color-text-muted);
  opacity: 1;
}

.ws-form__help {
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-xs);
}

.ws-form__error,
.wpcf7-not-valid-tip {
  color: var(--ws-color-danger);
  font-size: var(--ws-font-size-xs);
}

.wpcf7 form .wpcf7-response-output {
  margin: var(--ws-space-3) 0 0;
  padding: var(--ws-space-3) var(--ws-space-4);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-md);
  font-size: var(--ws-font-size-sm);
}

/* Contact page */
.ws-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--ws-space-6);
}

.ws-contact-form {
  padding: var(--ws-space-6);
}

.ws-contact-form__title {
  display: flex;
  align-items: center;
  gap: var(--ws-space-3);
  margin-bottom: var(--ws-space-1);
  font-size: var(--ws-font-size-2xl);
}

.ws-contact-form__title svg {
  flex: 0 0 auto;
  color: var(--ws-color-primary);
  opacity: 0.6;
}

.ws-contact-form__text {
  margin-bottom: var(--ws-space-5);
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-sm);
}

/* CF7: elimină <br> și face câmpurile blocuri */
.wpcf7 br { display: none; }
.wpcf7-form-control-wrap { display: block; }

.wpcf7 select {
  appearance: none;
  padding-right: 40px;
  background:
    #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23536b8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
}

.wpcf7 .wpcf7-not-valid {
  border-color: var(--ws-color-danger);
}

/* Butonul cu iconițe */
.ws-button svg {
  flex: 0 0 auto;
}

/* Carduri de contact */
.ws-contact-links {
  display: grid;
  gap: var(--ws-space-4);
}

.ws-contact-card,
a.ws-contact-card {
  display: flex;
  align-items: center;
  gap: var(--ws-space-5);
  padding: var(--ws-space-6);
  color: inherit;
  text-decoration: none;
}

.ws-contact-card__icon {
  display: grid;
  flex: 0 0 56px;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}

.ws-contact-card--github .ws-contact-card__icon {
  color: var(--ws-color-navy);
}

.ws-contact-card__icon svg {
  width: 28px;
  height: 28px;
}

.ws-contact-card__body {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.ws-contact-card__title {
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-lg);
  font-weight: var(--ws-font-weight-bold);
}

.ws-contact-card__text {
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-sm);
  line-height: 1.55;
}

.ws-contact-card__arrow {
  flex: 0 0 auto;
  color: var(--ws-color-primary);
  transition: transform var(--ws-transition-base);
}

.ws-contact-card:hover .ws-contact-card__arrow {
  transform: translateX(4px);
}

@media (max-width: 820px) {
  .ws-contact-layout {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------------------
   Comments: list and reply form
   -------------------------------------------------------------------------- */
.comments-area {
  margin-top: var(--ws-space-12);
  padding-top: var(--ws-space-8);
  border-top: 1px solid var(--ws-color-border);
}

.comments-title,
.comment-reply-title {
  margin-bottom: var(--ws-space-5);
  font-size: var(--ws-font-size-2xl);
}

.comment-reply-title small {
  margin-left: var(--ws-space-3);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
}

/* Form */
.comment-form {
  display: grid;
  gap: var(--ws-space-4);
}

.comment-form p {
  display: grid;
  gap: var(--ws-space-2);
  margin: 0;
}

.comment-notes,
.logged-in-as {
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-xs);
}

.comment-form label {
  color: var(--ws-color-navy);
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-semibold);
}

.comment-form .required {
  color: var(--ws-color-danger);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--ws-color-border-strong);
  border-radius: var(--ws-radius-md);
  outline: 0;
  background: #fff;
  color: var(--ws-color-navy);
  font: inherit;
  font-size: var(--ws-font-size-sm);
  transition: border-color var(--ws-transition-fast), box-shadow var(--ws-transition-fast);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: var(--ws-color-primary);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 11%);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--ws-color-text-muted);
  opacity: 1;
}

/* Checkbox "Save my name, email..." */
.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--ws-space-2);
}

.comment-form .comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--ws-color-primary);
}

.comment-form .comment-form-cookies-consent label {
  font-weight: var(--ws-font-weight-regular);
}

/* Submit: același aspect ca .ws-button */
.comment-form .form-submit {
  justify-items: start;
}

.comment-form .form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--ws-radius-md);
  background: var(--ws-color-primary);
  color: #fff;
  font: inherit;
  font-size: var(--ws-font-size-sm);
  font-weight: var(--ws-font-weight-bold);
  line-height: 1.25;
  cursor: pointer;
  transition:
    background-color var(--ws-transition-base),
    border-color var(--ws-transition-base),
    box-shadow var(--ws-transition-base),
    transform var(--ws-transition-base);
}

.comment-form .form-submit .submit:hover {
  border-color: var(--ws-color-primary-hover);
  background: var(--ws-color-primary-hover);
  box-shadow: var(--ws-shadow-sm);
  transform: translateY(-1px);
}

.comment-form .form-submit .submit:active {
  transform: translateY(0);
}

/* List of comments */
.comment-list {
  display: grid;
  gap: var(--ws-space-4);
  margin: 0 0 var(--ws-space-10);
  padding: 0;
  list-style: none;
}

.comment-list .children {
  display: grid;
  gap: var(--ws-space-4);
  margin: var(--ws-space-4) 0 0 var(--ws-space-8);
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: var(--ws-space-4) var(--ws-space-5);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-lg);
  background: #fff;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ws-space-2) var(--ws-space-3);
  margin-bottom: var(--ws-space-3);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: var(--ws-space-3);
  color: var(--ws-color-navy);
  font-weight: var(--ws-font-weight-bold);
}

.comment-author .avatar {
  border-radius: 50%;
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  color: var(--ws-color-text-muted);
  font-size: var(--ws-font-size-xs);
}

.comment-metadata a {
  color: inherit;
  text-decoration: none;
}

.comment-content {
  color: var(--ws-color-text-strong);
  font-size: var(--ws-font-size-sm);
  line-height: 1.7;
}

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

.comment-body .reply {
  margin-top: var(--ws-space-3);
}

.comment-body .reply a {
  color: var(--ws-color-primary);
  font-size: var(--ws-font-size-xs);
  font-weight: var(--ws-font-weight-bold);
  text-decoration: none;
}

.comment-body .reply a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .comment-list .children {
    margin-left: var(--ws-space-4);
  }
}

/* --------------------------------------------------------------------------
   Call-to-action band and footer
   -------------------------------------------------------------------------- */
.ws-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 60px);
  background:
    radial-gradient(circle at 8% 50%, rgb(32 184 170 / 12%), transparent 15%),
    linear-gradient(110deg, var(--ws-color-surface), #fff 70%);
}

.ws-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ws-space-6);
  width: min(100% - (var(--ws-container-gutter) * 2), var(--ws-container-width));
  margin-inline: auto;
}

.ws-cta__content {
  max-width: 720px;
}

.ws-cta__title {
  margin-bottom: var(--ws-space-2);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.ws-cta__description {
  color: var(--ws-color-text);
  font-size: var(--ws-font-size-sm);
}

.ws-site-footer {
  padding-block: var(--ws-space-8);
  background: var(--ws-color-footer-background);
  color: var(--ws-color-footer-text);
}

.ws-site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--ws-space-6);
  width: min(100% - (var(--ws-container-gutter) * 2), var(--ws-container-width));
  margin-inline: auto;
}

.ws-site-footer .ws-site-brand,
.ws-site-footer a {
  color: #fff;
  display: inline-flex;
  gap: 8px;	
}

.ws-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ws-space-4);
}

.ws-footer-nav a {
  color: var(--ws-color-footer-text);
  font-size: var(--ws-font-size-xs);
  text-decoration: none;
}

.ws-footer-nav a:hover {
  color: #fff;
}

.ws-site-footer__meta {
  justify-self: end;
  color: #b5c5dc;
  font-size: var(--ws-font-size-xs);
  text-align: right;
}

/* Small utility components */
.ws-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ws-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-tag,
a.ws-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: var(--ws-radius-pill);
  background: var(--ws-color-surface-alt);
  color: var(--ws-color-text-strong);
  font-size: var(--ws-font-size-xs);
  font-weight: var(--ws-font-weight-semibold);
  text-decoration: none;
}

.ws-tag:hover,
a.ws-tag:hover {
  border-color: var(--ws-color-primary-border);
  background: var(--ws-color-primary-soft);
  color: var(--ws-color-primary);
}

.ws-notice {
  padding: var(--ws-space-4) var(--ws-space-5);
  border: 1px solid var(--ws-color-border);
  border-radius: var(--ws-radius-lg);
  background: var(--ws-color-surface);
  color: var(--ws-color-text-strong);
  font-size: var(--ws-font-size-sm);
}

.ws-notice--success {
  border-color: rgb(19 138 99 / 22%);
  background: rgb(19 138 99 / 6%);
  color: var(--ws-color-success);
}

.ws-empty-state {
  padding: clamp(32px, 6vw, 64px) var(--ws-space-5);
  border: 1px dashed var(--ws-color-border-strong);
  border-radius: var(--ws-radius-xl);
  background: var(--ws-color-surface);
  text-align: center;
}

.ws-empty-state__title {
  margin-bottom: var(--ws-space-2);
  font-size: var(--ws-font-size-xl);
}

.ws-empty-state__text {
  max-width: 520px;
  margin-inline: auto;
  color: var(--ws-color-text);
  font-size: var(--ws-font-size-sm);
}

/* --------------------------------------------------------------------------
   Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .ws-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-blog-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .ws-article-grid {
    grid-template-columns: 1fr;
  }

  .ws-article-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .ws-menu-toggle {
	  display: flex;
      margin-left: auto;
	  border: 1px solid transparent; 
  }


/* wrapperul <nav> ia toată lățimea și cade sub brand */
.main-navigation {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  flex: none;
  border-bottom: 1px solid var(--ws-color-border);
  background: #fff;
  box-shadow: var(--ws-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--ws-transition-base),
    transform var(--ws-transition-base),
    visibility 0s linear 220ms;   /* ascunde abia după ce se termină animația */
	z-index: 1;
}

.main-navigation.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* meniul e mereu flex în panou și aliniat cu restul conținutului */
.main-navigation .ws-site-nav {
  display: flex;
  width: min(100% - (var(--ws-container-gutter) * 2), var(--ws-container-width));
  margin-inline: auto;
}

.ws-site-nav__link,
a.ws-site-nav__link {
  width: 100%;
}
	
  .ws-site-header__inner {
    flex-wrap: wrap;
  }

  .ws-site-nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: var(--ws-space-3);
  }

  .ws-site-nav.is-open {
    display: flex;
  }

  .ws-site-nav__link,
  a.ws-site-nav__link {
    min-height: 44px;
    border-top: 1px solid var(--ws-color-border);
  }

  .ws-site-nav__link::after {
    display: none;
  }

  .ws-site-header__action {
    margin-left: auto;
  }

  .ws-hero__inner {
    grid-template-columns: 1fr;
  }

  .ws-hero__visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

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

  .ws-blog-hero__inner,
  .ws-blog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ws-search-form {
    width: 100%;
  }

  .ws-blog-layout {
    grid-template-columns: 1fr;
  }

  .ws-blog-sidebar {
    padding-top: var(--ws-space-6);
    padding-left: 0;
    border-top: 1px solid var(--ws-color-border);
    border-left: 0;
  }

  .ws-featured-article {
    grid-template-columns: 1fr;
  }

  .ws-featured-article__body {
    padding: var(--ws-space-2);
  }

  .ws-site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ws-site-footer__meta {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .ws-grid--2,
  .ws-grid--3,
  .ws-grid--4 {
    grid-template-columns: 1fr;
  }

  .ws-hero {
    padding-block: var(--ws-space-12);
  }

  .ws-hero__title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .ws-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ws-hero__actions .ws-button {
    width: 100%;
  }

  .ws-section-heading,
  .ws-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ws-article-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--ws-space-3);
    padding: 10px;
  }

  .ws-article-card__title {
    font-size: var(--ws-font-size-sm);
  }

  .ws-article-card__excerpt {
    -webkit-line-clamp: 2;
  }

  .ws-service-card {
    padding: var(--ws-space-4);
  }

  .ws-footer-nav {
    gap: var(--ws-space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-button,
  .ws-card,
  .ws-project-card__media img,
  .ws-article-card {
    transition: none;
  }
}
