/* =========================================================
   css3.ro — foaie de stil comuna
   Concept: planșă tehnică / fișă de specificații pentru CSS3
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* culori */
  --blue-deep: #0e2a47;
  --blue-panel: #123657;
  --blue-line: rgba(148, 186, 222, .16);
  --blue-line-strong: rgba(148, 186, 222, .32);
  --paper: #f4efe1;
  --paper-dim: #ece4d0;
  --paper-line: rgba(28, 37, 48, .1);
  --ink: #1c2530;
  --ink-soft: #4a5568;
  --cream: #efe7d6;
  --cream-dim: #c9d6e3;
  --accent: #d6472e;
  --accent-dark: #ad3620;
  --accent-2: #e8b339;

  /* tipografie */
  --f-sans: 'Space Grotesk', 'Segoe UI', sans-serif;
  --f-serif: 'Source Serif 4', Georgia, serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* ritm */
  --wrap: 1080px;
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--blue-deep);
  background-image:
    linear-gradient(var(--blue-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-line) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--cream);
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3,
h4,
.nav a,
.btn,
.tag,
code,
pre,
.demo-label {
  font-family: var(--f-sans);
}

h1,
h2,
h3,
h4 {
  color: var(--cream);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}

.on-paper h1,
.on-paper h2,
.on-paper h3,
.on-paper h4 {
  color: var(--ink);
}

p {
  margin: 0 0 1.1em;
}

.on-paper p {
  color: var(--ink-soft);
}

::selection {
  background: var(--accent-2);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* ---------- header / nav ---------- */

.site-header {
  border-bottom: 1px solid var(--blue-line-strong);
  background: rgba(14, 42, 71, .85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--f-mono);
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--accent-2);
}

.logo::after {
  content: '{ }';
  margin-left: .35em;
  color: var(--cream-dim);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

/* nav-toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--blue-line-strong);
  color: var(--cream);
  padding: 7px 10px;
  font-family: var(--f-mono);
  border-radius: var(--radius);
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 4px;
  }

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

  .site-header .wrap {
    flex-wrap: wrap;
  }
}

/* ---------- mega-menu nav ---------- */

.nav-dropdown {
  position: relative;
}

/* The trigger button in the top bar */
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream-dim);
  font-family: var(--f-sans);
  font-size: .92rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.nav-drop-btn:hover {
  color: var(--cream);
  background: rgba(148, 186, 222, .07);
  border-color: var(--blue-line-strong);
}

.nav-drop-btn.is-active {
  color: var(--accent-2);
  background: rgba(232, 179, 57, .07);
  border-color: rgba(232, 179, 57, .25);
}

.nav-dropdown.is-open .nav-drop-btn {
  color: var(--cream);
  background: rgba(148, 186, 222, .1);
  border-color: var(--blue-line-strong);
}

.drop-arrow {
  transition: transform .22s ease;
  flex-shrink: 0;
  opacity: .6;
}

.nav-dropdown.is-open .drop-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Panel drops below the parent button */
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--blue-panel);
  border: 1px solid var(--blue-line-strong);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  list-style: none;
  margin: 0;
  z-index: 100;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height .3s cubic-bezier(.4,0,.2,1), opacity .22s ease, padding .3s ease;
}

.nav-dropdown.is-open .nav-dropdown-panel {
  max-height: 480px;
  opacity: 1;
  pointer-events: auto;
  padding: 16px 0;
}

/* Inner layout: label + links columns */
.nav-panel-inner {
  display: flex;
  gap: 0;
  padding: 0 4px;
}

.nav-drop-label {
  display: block;
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--accent-2);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--blue-line-strong);
  opacity: .85;
}

.nav-panel-col {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid var(--blue-line-strong);
}

.nav-panel-col:first-child {
  padding-left: 0;
}

.nav-panel-col:last-child {
  border-right: none;
}

.nav-panel-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--cream-dim);
  font-family: var(--f-sans);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
  white-space: nowrap;
}

.nav-dropdown-panel a:hover {
  background: rgba(148, 186, 222, .1);
  color: var(--cream);
}

.nav-dropdown-panel a.is-active {
  color: var(--accent-2);
}

.nav-num {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--accent-2);
  opacity: .7;
  min-width: 22px;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: .64rem;
  font-weight: 700;
  background: rgba(232, 179, 57, .12);
  color: var(--accent-2);
  border: 1px solid rgba(232, 179, 57, .28);
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: .04em;
  flex-shrink: 0;
}

/* overlay backdrop */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background .25s ease;
}

.nav-overlay.is-active {
  background: rgba(0,0,0,.35);
  pointer-events: auto;
}

/* Mobile */
@media (max-width: 720px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-drop-btn {
    width: 100%;
    padding: 12px 8px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--blue-line-strong);
    background: none;
  }

  .nav-dropdown.is-open .nav-drop-btn {
    background: rgba(148, 186, 222, .05);
    border-color: var(--blue-line-strong);
  }

  .nav-dropdown-panel {
    position: static;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    border: none;
    background: rgba(148, 186, 222, .04);
    padding: 0;
    overflow: hidden;
  }

  .nav-dropdown.is-open .nav-dropdown-panel {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
    padding: 6px 0 10px;
  }

  .nav-panel-inner {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .nav-panel-col {
    padding: 8px 0 0;
    border-right: none;
    border-top: none;
  }

  .nav-panel-col:first-child {
    padding-left: 0;
  }

  .nav-drop-label {
    display: none;
  }

  .nav-dropdown-panel a {
    padding: 9px 20px;
  }

  .nav-overlay {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero {
  padding: 84px 0 10px;
  position: relative;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

.eyebrow-code {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--accent-2);
  background: rgba(232, 179, 57, .08);
  border: 1px solid rgba(232, 179, 57, .35);
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 13ch;
  margin-bottom: .38em;
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--cream-dim);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff5ef;
  box-shadow: 3px 3px 0 var(--accent-dark);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--accent-dark);
}

.btn-ghost {
  border-color: var(--blue-line-strong);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* the live demo tile that sits in the hero */
.hero-demo {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffd88a, var(--accent) 55%, #7a2ea1);
  box-shadow: 0 18px 0 -6px rgba(0, 0, 0, .18), 0 26px 40px rgba(0, 0, 0, .35);
  position: relative;
  transition: border-radius .5s cubic-bezier(.65, 0, .35, 1), transform .5s ease;
}

.hero-demo:hover {
  border-radius: 50%;
  transform: rotate(8deg) scale(1.03);
}

.hero-demo::after {
  content: 'border-radius, gradient, box-shadow, transition — hover cu mouse-ul';
  position: absolute;
  bottom: -34px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--cream-dim);
}

/* ---------- tutorial page head (blue, above the paper) ---------- */

.page-head {
  padding: 52px 0 44px;
}

.page-head .module-seq {
  display: block;
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  max-width: 22ch;
}

.page-head p.lead {
  color: var(--cream-dim);
  font-size: 1.02rem;
  margin-bottom: 20px;
}
 
.page-head p + p {
  color: var(--cream-dim);
  font-size: .98rem;
  margin-top: 12px;
}

/* ---------- section scaffolding ---------- */

section {
  padding: 64px 0;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  color: var(--cream-dim);
}

.on-paper .section-head p {
  color: var(--ink-soft);
}

/* ---------- module grid (homepage) ---------- */

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

@media (max-width: 860px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-demo {
    width: min(100%, 260px);
    margin-left: 20px;
  }
}

.module-card {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  padding: 22px 20px 20px;
  position: relative;
  border: 1px solid var(--paper-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 190px;
}

.module-card::before,
.module-card::after,
.corner::before,
.corner::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent);
  border-style: solid;
  opacity: .65;
}

.module-card::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.module-card::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.module-card .m-index {
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--accent-dark);
}

.module-card h3 {
  color: var(--ink);
  font-size: 1.14rem;
  margin-bottom: 0;
}

.module-card p {
  color: var(--ink-soft);
  font-size: .93rem;
  margin: 0;
  flex-grow: 1;
}

.module-card .go {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--accent-dark);
  font-weight: 700;
  border-top: 1px dashed var(--paper-line);
  padding-top: 12px;
}

.module-card:hover {
  background: var(--paper-dim);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(10, 30, 51, .12);
}

.module-card:hover .go {
  color: var(--accent);
}

.module-card {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

/* mini live swatches inside module cards */
.swatch {
  height: 46px;
  border: 1px solid var(--paper-line);
}

.swatch-selectors {
  background: repeating-linear-gradient(45deg, #dfe6ee, #dfe6ee 6px, #cdd8e3 6px, #cdd8e3 12px);
}

.swatch-boxmodel {
  background: var(--paper-dim);
  border-radius: 12px;
  box-shadow: inset 0 0 0 6px #e3d8bb, inset 0 0 0 12px var(--paper);
}

.swatch-backgrounds {
  background: radial-gradient(circle at 30% 30%, #ffe3a8, transparent 60%), linear-gradient(120deg, #6ea8d8, #7a2ea1);
}

.swatch-text {
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 1.3rem;
  color: var(--ink);
  text-shadow: 2px 2px 0 rgba(214, 71, 46, .35);
}

.swatch-layout {
  background: var(--paper-dim);
  display: flex;
  gap: 4px;
  padding: 8px;
}

.swatch-layout span {
  flex: 1;
  background: #cdd8e3;
}

.swatch-layout span:nth-child(2) {
  flex: 2;
  background: var(--accent-2);
}

.swatch-anim {
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.swatch-anim i {
  width: 16px;
  height: 16px;
  background: var(--accent);
  display: block;
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-8px) rotate(45deg);
  }
}

/* ---------- content panels on tutorial pages ---------- */

.on-paper {
  background: var(--paper);
  color: var(--ink);
}

.spec {
  border: 1px solid var(--paper-line);
  padding: 26px 26px 22px;
  margin-bottom: 26px;
  position: relative;
}

.spec::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-right: 0;
  border-bottom: 0;
  opacity: .65;
}

.spec::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-left: 0;
  border-top: 0;
  opacity: .65;
}

.spec h3 {
  color: var(--ink);
  font-size: 1.2rem;
}

.spec .tag {
  font-family: var(--f-mono);
  font-size: .74rem;
  color: var(--accent-dark);
  border: 1px solid rgba(214, 71, 46, .4);
  padding: 2px 7px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  display: inline-block;
}

.spec-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 14px;
}

.spec-body > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .spec-body {
    grid-template-columns: 1fr;
  }

  .spec-body > * {
    width: 100%;
  }
}

pre {
  background: #0a1e33;
  color: #dce6f0;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--f-mono);
  font-size: .84rem;
  line-height: 1.55;
  margin: 0;
  border-left: 3px solid var(--accent-2);
}

code {
  font-family: var(--f-mono);
}

.on-paper :not(pre)>code {
  background: rgba(28, 37, 48, .07);
  padding: .12em .4em;
  font-size: .88em;
  border-radius: 3px;
}

.demo-label {
  font-size: .72rem;
  text-transform: none;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.demo-box {
  border: 1px dashed var(--paper-line);
  background: var(--paper-dim);
  padding: 22px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
}

.demo-box > * {
  max-width: 100%;
  min-width: 0;
}

.demo-box > div[style*="display:flex"],
.demo-box > [style*="display:flex"] {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 12px;
}

.spec p {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.spec-details {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper-dim);
  border-left: 3px solid var(--accent);
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.spec-details strong {
  color: var(--ink);
}

.spec-details ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.spec-details li {
  margin-bottom: 6px;
}

/* small reusable demo pieces used across tutorial pages */
.d-btn {
  background: var(--accent);
  color: #fff5ef;
  border: none;
  padding: 10px 18px;
  font-family: var(--f-sans);
  font-weight: 600;
  cursor: pointer;
}

.d-chip {
  padding: 6px 14px;
  background: #e7ddc4;
  font-family: var(--f-mono);
  font-size: .8rem;
}

/* ---------- module footer nav (prev/next) ---------- */

.module-pager {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--paper-line);
  margin-top: 20px;
  flex-wrap: wrap;
}

.pager-link {
  text-decoration: none;
  color: var(--ink);
  max-width: 45%;
}

.pager-link .k {
  display: block;
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.pager-link .t {
  font-weight: 600;
}

.pager-link:hover .t {
  color: var(--accent);
}

.pager-link.next {
  text-align: right;
  margin-left: auto;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--blue-line-strong);
  padding: 40px 0 30px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer p {
  color: var(--cream-dim);
  font-size: .85rem;
  margin: 0;
}

.footer-ruler {
  opacity: .55;
}

/* ---------- table of contents (in-page nav) ---------- */

.toc {
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  padding: 20px 24px;
  margin-bottom: 30px;
  position: relative;
}

.toc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-2);
  border-right: 0;
  border-bottom: 0;
  opacity: .65;
}

.toc::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-2);
  border-left: 0;
  border-top: 0;
  opacity: .65;
}

.toc-title {
  font-family: var(--f-mono);
  font-size: .76rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title::before {
  content: '≡';
  font-size: 1.1rem;
  color: var(--accent-2);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /*display: flex;*/
  flex-wrap: wrap;
  gap: 8px 16px;
}

.toc-list li {
  font-family: var(--f-sans);
  font-size: .88rem;
}

.toc-list li::before {
  content: '→ ';
  color: var(--accent);
  font-family: var(--f-mono);
  font-weight: 700;
}

.toc-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--paper-line);
  transition: color .15s ease, border-color .15s ease;
}

.toc-list a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- adsense placeholder ---------- */

.ad-placeholder {
  border: 2px dashed rgba(148, 186, 222, .3);
  background: rgba(14, 42, 71, .04);
  padding: 22px;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.on-paper .ad-placeholder {
  border-color: var(--paper-line);
  background: rgba(28, 37, 48, .03);
}

.ad-placeholder-label {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .6;
}

.ad-placeholder-box {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 10px auto 0;
  background:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(148, 186, 222, .06) 10px,
      rgba(148, 186, 222, .06) 20px);
  border: 1px solid rgba(148, 186, 222, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--ink-soft);
  opacity: .45;
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .hero {
    padding: 56px 0 44px;
  }

  .hero .wrap,
  .page-head .wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  section {
    padding: 44px 0;
  }

  .spec {
    padding: 20px 14px;
  }

  .spec-body pre,
  .spec-body pre code {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .demo-box {
    padding: 14px 10px;
    width: 100%;
    max-width: 100%;
  }

  .demo-box > * {
    width: 100%;
    max-width: 100%;
  }

  .demo-box > div[style*="display:flex"],
  .demo-box > [style*="display:flex"] {
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .toc-list {
    flex-direction: column;
    gap: 6px;
  }

  .ad-placeholder-box {
    height: 60px;
  }
}

/* =========================================================
   EXTENDED STYLES FOR ADSENSE COMPLIANCE & RICH FEATURES
   ========================================================= */

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--cream-dim);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--accent-2);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  opacity: .5;
}

/* ---------- site footer (blueprint style) ---------- */
.site-footer {
  border-top: 1px solid var(--blue-line-strong);
  background: #091e33;
  color: var(--cream-dim);
  padding: 56px 0 28px;
  margin-top: 60px;
  font-family: var(--f-sans);
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
  font-family: var(--f-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col h4::before {
  content: '/*';
  color: var(--accent-2);
  font-weight: 400;
}

.footer-col h4::after {
  content: '*/';
  color: var(--accent-2);
  font-weight: 400;
}

.footer-col p {
  font-size: .88rem;
  line-height: 1.6;
  color: #a4bed8;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #b7ceeb;
  text-decoration: none;
  font-size: .88rem;
  transition: color .15s ease, transform .15s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-2);
  transform: translateX(3px);
}

.footer-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .68rem;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(232, 179, 57, .15);
  color: var(--accent-2);
  border: 1px solid rgba(232, 179, 57, .3);
  margin-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--blue-line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: #7b9bb9;
  font-family: var(--f-mono);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #9bb7d4;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--cream);
  text-decoration: underline;
}

/* ---------- generator & tool interfaces ---------- */
.generator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .generator-layout {
    grid-template-columns: 1fr;
  }
}

.generator-controls {
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  padding: 24px;
  border-radius: var(--radius);
}

.generator-controls h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 10px;
}

.control-group {
  margin-bottom: 18px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
}

.control-label span {
  color: var(--accent-dark);
  font-weight: 700;
}

.slider-input {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.color-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-input-row input[type="color"] {
  -webkit-appearance: none;
  border: 1px solid var(--paper-line);
  width: 44px;
  height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  padding: 0;
}

.color-input-row input[type="text"] {
  flex: 1;
  font-family: var(--f-mono);
  padding: 8px 12px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
}

.generator-preview-panel {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-stage {
  min-height: 280px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
  background-image: 
    linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
    linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
    linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.preview-target {
  width: 180px;
  height: 180px;
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--ink);
  text-align: center;
  padding: 10px;
  transition: all .1s ease;
}

.code-output-card {
  background: #091e33;
  color: #e0ecf8;
  border-radius: var(--radius);
  border: 1px solid var(--blue-line-strong);
  overflow: hidden;
}

.code-output-header {
  background: rgba(14, 42, 71, .95);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--blue-line);
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--cream-dim);
}

.code-output-box {
  padding: 16px;
  font-family: var(--f-mono);
  font-size: .88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  color: #ffda79;
  max-height: 180px;
  overflow-y: auto;
}

.btn-copy {
  background: var(--accent-2);
  color: #12283d;
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 700;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-copy:hover {
  background: #f7ca54;
  transform: translateY(-1px);
}

.preset-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preset-pill {
  font-family: var(--f-mono);
  font-size: .78rem;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
  transition: all .15s ease;
}

.preset-pill:hover,
.preset-pill.active {
  background: var(--blue-panel);
  color: var(--cream);
  border-color: var(--blue-panel);
}

/* ---------- interactive quiz styles ---------- */
.quiz-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 32px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 10px;
}

.quiz-question {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 22px;
  line-height: 1.35;
}

.quiz-question code {
  background: var(--paper-dim);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--accent);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.quiz-opt-btn {
  text-align: left;
  background: #fff;
  border: 1px solid var(--paper-line);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-opt-btn .opt-badge {
  font-family: var(--f-mono);
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--ink);
  flex-shrink: 0;
}

.quiz-opt-btn:hover:not(:disabled) {
  border-color: var(--blue-panel);
  background: #fafbfc;
  transform: translateX(3px);
}

.quiz-opt-btn.is-correct {
  background: #e6f7ec !important;
  border-color: #27ae60 !important;
  color: #1e6b37 !important;
}

.quiz-opt-btn.is-wrong {
  background: #fdf0ee !important;
  border-color: #d6472e !important;
  color: #8c2615 !important;
}

.quiz-explanation {
  background: #fdfaf0;
  border-left: 4px solid var(--accent-2);
  padding: 16px 20px;
  margin-top: 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: none;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink);
}

.quiz-score-box {
  background: var(--blue-panel);
  color: var(--cream);
  padding: 36px;
  text-align: center;
  border-radius: var(--radius);
  margin-top: 30px;
  border: 1px solid var(--blue-line-strong);
}

.quiz-score-num {
  font-size: 3.2rem;
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--accent-2);
  margin: 10px 0;
}

/* ---------- cheatsheet styles ---------- */
.cheatsheet-filter-bar {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 260px;
  padding: 12px 16px;
  border: 1px solid var(--paper-line);
  background: #fff;
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: .92rem;
}

.cheatsheet-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: .92rem;
  background: #fff;
  border: 1px solid var(--paper-line);
}

.cheatsheet-table th,
.cheatsheet-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--paper-line);
  text-align: left;
}

.cheatsheet-table th {
  background: var(--paper-dim);
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cheatsheet-table tr:hover {
  background: #fbf9f4;
}

.cheatsheet-table code {
  color: var(--accent);
  font-weight: 600;
  font-size: .9em;
}

/* ---------- contact & legal pages ---------- */
.legal-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 40px;
  border-radius: var(--radius);
  color: var(--ink);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 24px 18px;
  }
}

.legal-card h2 {
  color: var(--ink);
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 8px;
}

.legal-card h3 {
  color: var(--ink);
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-card ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-meta {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  background: var(--paper-dim);
  padding: 8px 14px;
  border-radius: var(--radius);
  display: inline-block;
}

/* contact form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-family: var(--f-mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-size: .95rem;
  background: #fff;
  color: var(--ink);
}

.form-control:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* notice alert boxes */
.alert-box {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: .92rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-info {
  background: #eef6fd;
  border: 1px solid #c2def7;
  color: #1a4a75;
}

.alert-success {
  background: #eef9f2;
  border: 1px solid #b7e4c7;
  color: #1a6634;
}

/* ---------- cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 440px;
  background: #091e33;
  color: var(--cream);
  border: 1px solid var(--blue-line-strong);
  border-radius: 4px;
  padding: 22px 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
  z-index: 9999;
  font-family: var(--f-sans);
  font-size: .88rem;
  line-height: 1.5;
  display: none;
  animation: slideUp .3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner h5 {
  font-family: var(--f-mono);
  font-size: .92rem;
  color: var(--accent-2);
  margin: 0 0 8px;
}

.cookie-banner p {
  color: #b3cde6;
  font-size: .84rem;
  margin-bottom: 14px;
}

.cookie-banner a {
  color: var(--accent-2);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s ease;
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--accent-dark);
}

.cookie-btn-decline {
  background: transparent;
  border-color: var(--blue-line-strong);
  color: var(--cream-dim);
}

.cookie-btn-decline:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* ---------- sitemap page ---------- */

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

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

.sitemap-section {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  padding: 28px;
  color: var(--ink);
}

.sitemap-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sitemap-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.sitemap-header h2 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--ink);
}

.sitemap-desc {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 16px;
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sitemap-list li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: background .13s ease, color .13s ease;
}

.sitemap-list li a:hover {
  background: var(--paper-dim);
  color: var(--blue-deep);
}

.sitemap-num {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(214, 71, 46, .08);
  border: 1px solid rgba(214, 71, 46, .2);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

.sitemap-badge {
  font-family: var(--f-mono);
  font-size: .66rem;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(232, 179, 57, .12);
  border: 1px solid rgba(232, 179, 57, .3);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

.sitemap-link-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sitemap-link-body strong {
  font-family: var(--f-sans);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}

.sitemap-link-body span {
  font-family: var(--f-sans);
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* sitemap footer link */
.sitemap-footer-link {
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--accent-2);
  text-decoration: none;
  opacity: .75;
  transition: opacity .15s ease;
}

.sitemap-footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- E-E-A-T & Ghiduri Articole ---------- */

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 18px;
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  margin-bottom: 28px;
  font-family: var(--f-sans);
  font-size: .86rem;
  color: var(--ink-soft);
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item strong {
  color: var(--ink);
  font-weight: 600;
}

.article-badge-tech {
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(214, 71, 46, .09);
  border: 1px solid rgba(214, 71, 46, .22);
  padding: 2px 7px;
  border-radius: 3px;
}

.author-card-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  margin-top: 40px;
}

.author-avatar-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(14, 42, 71, .15);
}

.author-card-info {
  flex: 1;
}

.author-card-info h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--f-sans);
}

.author-card-role {
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.author-card-bio {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 10px;
}

.author-card-links {
  font-family: var(--f-sans);
  font-size: .82rem;
  display: flex;
  gap: 14px;
}

.author-card-links a {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration: underline;
}

.author-card-links a:hover {
  color: var(--accent);
}

.article-sources-box {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
}

.article-sources-box h4 {
  font-size: .98rem;
  margin: 0 0 10px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-sources-box ul {
  margin: 0;
  padding-left: 20px;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.article-sources-box ul li a {
  color: var(--blue-deep);
  text-decoration: underline;
  word-break: break-all;
}

.article-sources-box ul li a:hover {
  color: var(--accent);
}

.callout-summary {
  background: rgba(14, 42, 71, .04);
  border-left: 3px solid var(--blue-deep);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: .94rem;
  line-height: 1.6;
}

.callout-summary strong {
  color: var(--ink);
}

.guide-step-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.guide-step-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

@media (max-width: 640px) {
  .author-card-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-card-links {
    justify-content: center;
  }
}