/* Dedicated Tamambaha about/contact pages. */

body.tb-info-page-template {
  --tb-info-bg: #070b10;
  --tb-info-panel: rgba(12, 18, 25, 0.9);
  --tb-info-panel-soft: rgba(255, 255, 255, 0.045);
  --tb-info-border: rgba(142, 199, 216, 0.24);
  --tb-info-border-strong: rgba(255, 190, 92, 0.42);
  --tb-info-text: #f3f7f9;
  --tb-info-muted: #aebbc4;
  --tb-info-cyan: #49d6d0;
  --tb-info-amber: #ffb547;
  --tb-info-green: #8fe388;
  --tb-info-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  background: var(--tb-info-bg);
}

[data-theme="light"] body.tb-info-page-template,
body[data-theme="light"].tb-info-page-template {
  --tb-info-bg: #f5f7f8;
  --tb-info-panel: rgba(255, 255, 255, 0.94);
  --tb-info-panel-soft: rgba(11, 21, 30, 0.045);
  --tb-info-border: rgba(11, 49, 62, 0.14);
  --tb-info-border-strong: rgba(212, 123, 24, 0.32);
  --tb-info-text: #13202a;
  --tb-info-muted: #5c6b75;
  --tb-info-cyan: #087f83;
  --tb-info-amber: #b56516;
  --tb-info-green: #277b3b;
  --tb-info-shadow: 0 18px 50px rgba(15, 23, 30, 0.12);
}

body.tb-info-page-template .entry-header {
  display: none;
}

body.tb-info-page-template #content.site-content {
  padding-top: 0;
}

body.tb-info-page-template #content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

body.tb-info-page-template #primary.content-area,
body.tb-info-page-template .ast-article-single,
body.tb-info-page-template .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.tb-info-page,
.tb-info-page * {
  box-sizing: border-box;
}

.tb-info-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 54px) 0 70px;
  color: var(--tb-info-text);
  direction: rtl;
  font-family: var(--font-family-primary, "PeydaWebFaNum", "IRANSans", sans-serif);
}

.tb-info-page a {
  color: inherit;
  text-decoration: none;
}

.tb-info-page bdi {
  direction: ltr;
  unicode-bidi: isolate;
}

.tb-info-hero,
.tb-info-section,
.tb-info-panel,
.tb-info-card,
.tb-info-action,
.tb-info-final {
  border: 1px solid var(--tb-info-border);
  border-radius: 8px;
  background: var(--tb-info-panel);
  box-shadow: var(--tb-info-shadow);
  backdrop-filter: blur(16px);
}

.tb-info-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 3vw, 34px);
  overflow: hidden;
  align-items: stretch;
  padding: clamp(24px, 4vw, 44px);
}

.tb-info-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(73, 214, 208, 0.16), transparent 38%),
    repeating-linear-gradient(-45deg, transparent 0 16px, rgba(255, 255, 255, 0.035) 16px 17px);
}

.tb-info-hero__copy,
.tb-info-hero__aside {
  position: relative;
  z-index: 1;
}

.tb-info-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--tb-info-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.tb-info-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--tb-info-muted);
  font-size: 1.04rem;
  line-height: 2.05;
}

.tb-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tb-info-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--tb-info-text);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.4;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tb-info-action:hover,
.tb-info-action:focus-visible,
.tb-info-card[href]:hover,
.tb-info-card[href]:focus-visible {
  transform: translateY(-2px);
  border-color: var(--tb-info-border-strong);
  background: rgba(255, 181, 71, 0.1);
}

.tb-info-action--primary {
  border-color: rgba(255, 181, 71, 0.55);
  background: linear-gradient(135deg, var(--tb-info-amber), #ffe07b);
  color: #15110a !important;
}

.tb-info-action--chat {
  border-color: rgba(73, 214, 208, 0.5);
  background: rgba(73, 214, 208, 0.12);
  color: var(--tb-info-cyan) !important;
}

.tb-info-action--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--tb-info-text) !important;
}

.tb-info-action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.tb-info-hero__aside {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--tb-info-border);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.tb-info-panel {
  padding: 18px;
}

.tb-info-hero__aside span {
  color: var(--tb-info-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.tb-info-hero__aside strong {
  color: var(--tb-info-text);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.45;
}

.tb-info-hero__aside a {
  color: var(--tb-info-cyan);
  font-weight: 900;
}

.tb-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tb-info-grid--contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-info-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 142px;
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tb-info-card__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(73, 214, 208, 0.22);
  border-radius: 8px;
  background: rgba(73, 214, 208, 0.12);
  color: var(--tb-info-cyan);
}

.tb-info-card__icon svg {
  width: 22px;
  height: 22px;
}

.tb-info-card h2,
.tb-info-card h3,
.tb-info-panel h2,
.tb-info-section h2,
.tb-info-final h2 {
  margin: 0;
  color: var(--tb-info-text);
  font-weight: 900;
  line-height: 1.55;
}

.tb-info-card h2,
.tb-info-card h3 {
  font-size: 1.06rem;
}

.tb-info-card p,
.tb-info-card small,
.tb-info-panel p,
.tb-info-section p,
.tb-info-section li,
.tb-info-final p {
  margin: 0;
  color: var(--tb-info-muted);
  line-height: 1.95;
}

.tb-info-card strong {
  color: var(--tb-info-amber);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.7;
}

.tb-info-section {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.tb-info-section h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.tb-info-section__intro {
  max-width: 850px;
  margin-top: 10px !important;
}

.tb-info-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 20px;
  align-items: start;
}

.tb-info-story__text {
  display: grid;
  gap: 15px;
}

.tb-info-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-info-list li {
  border: 1px solid var(--tb-info-border);
  border-radius: 8px;
  padding: 11px 13px;
  background: var(--tb-info-panel-soft);
}

.tb-info-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tb-info-step {
  display: grid;
  gap: 8px;
  border: 1px solid var(--tb-info-border);
  border-radius: 8px;
  padding: 16px;
  background: var(--tb-info-panel-soft);
}

.tb-info-step b {
  color: var(--tb-info-amber);
  font-size: 1.25rem;
  font-weight: 900;
}

.tb-info-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tb-info-products span {
  border: 1px solid rgba(73, 214, 208, 0.22);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(73, 214, 208, 0.09);
  color: var(--tb-info-cyan);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.5;
}

.tb-info-final {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.tb-info-final p {
  margin-top: 8px;
}

.tb-info-final .tb-info-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

@media (max-width: 980px) {
  .tb-info-hero,
  .tb-info-story,
  .tb-info-grid,
  .tb-info-grid--contact,
  .tb-info-steps {
    grid-template-columns: 1fr;
  }

  .tb-info-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .tb-info-page {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .tb-info-hero,
  .tb-info-section,
  .tb-info-final {
    padding: 18px;
  }

  .tb-info-actions,
  .tb-info-final {
    align-items: stretch;
    flex-direction: column;
  }

  .tb-info-action {
    width: 100%;
  }
}
