@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111827;
  background-color: #ffffff;
  direction: rtl;
  text-align: right;
  unicode-bidi: embed;
}

[dir=rtl] {
  direction: rtl;
  text-align: right;
}

[dir=ltr] {
  direction: ltr;
  text-align: left;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-block: 0;
  line-height: 1.3;
}

h1 {
  font-size: 1.875rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-block: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-block: 0;
  margin-bottom: 1rem;
  padding-inline-start: 1.5rem;
}
ul li,
ol li {
  margin-bottom: 0.25rem;
}

*:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

* {
  transition: all 0.2s ease-in-out;
}

svg {
  max-width: 100px;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 0.5rem;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-inline: 1rem;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.main-content {
  min-height: 100vh;
  background-color: #f9fafb;
  padding-block: 2rem;
}
@media (min-width: 768px) {
  .main-content {
    padding-block: 3rem;
  }
}

.flex--horizontal, .flex--wrap, .flex--center, .flex--between {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.flex--horizontal[dir=rtl] .flex--horizontal, [dir=rtl].flex--wrap .flex--horizontal, .flex--horizontal[dir=rtl] .flex--wrap, [dir=rtl].flex--wrap .flex--wrap, [dir=rtl].flex--center .flex--horizontal, [dir=rtl].flex--center .flex--wrap, .flex--horizontal[dir=rtl] .flex--center, [dir=rtl].flex--wrap .flex--center, [dir=rtl].flex--center .flex--center, [dir=rtl].flex--between .flex--horizontal, [dir=rtl].flex--between .flex--wrap, [dir=rtl].flex--between .flex--center, .flex--horizontal[dir=rtl] .flex--between, [dir=rtl].flex--wrap .flex--between, [dir=rtl].flex--center .flex--between, [dir=rtl].flex--between .flex--between {
  flex-direction: row-reverse;
}

.flex--between {
  justify-content: space-between;
}

.flex--center {
  justify-content: center;
}

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

.grid--auto, .grid--cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
@media (min-width: 768px) {
  .grid--auto, .grid--cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid--auto, .grid--cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid--cards {
  gap: 2rem;
}

.section {
  padding-block: 2rem;
}
@media (min-width: 768px) {
  .section {
    padding-block: 3rem;
  }
}

.profile-header {
  background-color: #ffffff;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

.stat--profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  text-align: center;
}
.stat--profile .stat__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.stat--profile .stat__label {
  font-size: 0.875rem;
  color: #6b7280;
}

.btn, .btn--outline, .btn--copy, .btn--secondary, .btn--regenerate, .btn--primary, .search-page__form-wrapper .search-form button[type=submit] {
  display: inline-block;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border-radius: 0.375rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}
.btn:hover, .btn--outline:hover, .btn--copy:hover, .btn--secondary:hover, .btn--regenerate:hover, .btn--primary:hover, .search-page__form-wrapper .search-form button[type=submit]:hover {
  transform: translateY(-1px);
}
.btn:focus, .btn--outline:focus, .btn--copy:focus, .btn--secondary:focus, .btn--regenerate:focus, .btn--primary:focus, .search-page__form-wrapper .search-form button[type=submit]:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.btn:disabled, .btn--outline:disabled, .btn--copy:disabled, .btn--secondary:disabled, .btn--regenerate:disabled, .btn--primary:disabled, .search-page__form-wrapper .search-form button[type=submit]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn--primary, .search-page__form-wrapper .search-form button[type=submit] {
  background-color: #2563eb;
  color: #ffffff;
}
.btn--primary:hover, .search-page__form-wrapper .search-form button[type=submit]:hover {
  background-color: #1d4ed8;
  color: #ffffff;
}
.btn--primary:active, .search-page__form-wrapper .search-form button[type=submit]:active {
  background-color: #1e40af;
  color: #ffffff;
}

.btn--secondary, .btn--regenerate {
  background-color: #e5e7eb;
  color: #374151;
}
.btn--secondary:hover, .btn--regenerate:hover {
  background-color: #d1d5db;
}
.btn--secondary:active, .btn--regenerate:active {
  background-color: #9ca3af;
}

.btn--outline, .btn--copy {
  background-color: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}
.btn--outline:hover, .btn--copy:hover {
  background-color: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.btn--outline:active, .btn--copy:active {
  background-color: #dbeafe;
}

.btn--small {
  padding-block: 0.5rem;
  padding-inline: 1rem;
  font-size: 0.875rem;
}

.btn__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn--copy {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.btn--copy .btn__icon {
  width: 1rem;
  height: 1rem;
}

.btn--regenerate {
  font-size: 0.875rem;
  padding-block: 0.25rem;
  padding-inline: 0.5rem;
}

.card, .profile-card, .card__body {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.card--elevated {
  box-shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)";
  border: 1px solid #f3f4f6;
}
.card__body {
  padding: 1rem;
}
.card__header {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}
.card__footer {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
}
.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}
.card__text {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card__meta {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .profile-card {
    flex-direction: row;
    align-items: flex-start;
  }
}
.profile-card .avatar--large {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.profile-card .profile__info {
  flex: 1;
  text-align: center;
}
@media (min-width: 768px) {
  .profile-card .profile__info {
    text-align: right;
  }
}
.profile-card .profile__social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .profile-card .profile__social {
    justify-content: flex-start;
  }
}
.profile-card .profile__social a {
  display: flex;
  align-items: center;
  padding: 0.25rem;
  color: #9ca3af;
  transition: all 0.2s ease-in-out;
}
.profile-card .profile__social a:hover {
  color: #2563eb;
  background-color: #f3f4f6;
  border-radius: 0.125rem;
}
.profile-card .profile__social a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  border-left: 4px solid;
  margin-bottom: 1rem;
}
.alert--error {
  background-color: #fef2f2;
  color: #dc2626;
  border-left-color: #dc2626;
}
.alert--success {
  background-color: #f0fdf4;
  color: #16a34a;
  border-left-color: #16a34a;
}
.alert--info {
  background-color: #eff6ff;
  color: #1d4ed8;
  border-left-color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge {
  display: inline-block;
  padding-block: 0.25rem;
  padding-inline: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.75rem;
  text-transform: uppercase;
}
.badge--private {
  background-color: #f3f4f6;
  color: #374151;
}

.abar-pagination {
  margin-top: clamp(1.5rem, 2vw, 2.5rem);
  display: flex;
  justify-content: center;
}
.abar-pagination .abar-pagination-style-1 {
  background: #ffffff;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 18px 45px -8px rgba(15, 23, 42, 0.3);
  padding: clamp(0.5rem, 1vw, 0.75rem) clamp(0.85rem, 1.5vw, 1rem);
}
.abar-pagination ul.page-numbers {
  list-style: none;
  display: flex;
  gap: clamp(0.4rem, 1vw, 0.75rem);
  margin: 0;
  padding: 0;
}
.abar-pagination .page-numbers li {
  margin: 0;
}
.abar-pagination .page-numbers a,
.abar-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.875rem;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease-in-out;
}
.abar-pagination .page-numbers span.pagination__text {
  padding: 0 0;
  background: transparent;
  border-radius: unset;
  border: none;
  color: inherit;
}
.abar-pagination .page-numbers a:hover,
.abar-pagination .page-numbers span.current {
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 18px 40px -28px rgba(37, 99, 235, 0.55);
}

.pagination__icon {
  display: inline-flex;
}
.pagination__icon svg {
  width: 1rem;
  height: 1rem;
}

.pagination__text {
  font-weight: 600;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease-in-out;
}
.blog-card:hover, .blog-card:focus-within {
  box-shadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)";
  transform: translateY(-4px);
}
.blog-card:hover .blog-card__image, .blog-card:focus-within .blog-card__image {
  transform: scale(1.05);
}
.blog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.45/1;
}
.blog-card__image {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card__image--featured {
  aspect-ratio: 1.45/1;
}
.blog-card__placeholder {
  align-items: center;
  background: linear-gradient(135deg, #eff6ff, #faf5ff);
  color: #6b7280;
  display: flex;
  font-size: 1.125rem;
  height: 100%;
  justify-content: center;
  min-height: 200px;
}
.blog-card__badge {
  align-items: center;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.25rem;
  padding-block: 0.35rem;
  padding-inline: 0.85rem;
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-start: 1rem;
  box-shadow: 0 8px 18px -10px rgba(92, 51, 207, 0.6);
}
.blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.5rem;
}
.blog-card__meta {
  align-items: center;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.25rem;
}
.blog-card__dot {
  color: #d1d5db;
}
.blog-card__title {
  font-size: clamp(1.1rem, 1.2vw + 1rem, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card__title a:hover, .blog-card__title a:focus-visible {
  color: #2563eb;
}
.blog-card__excerpt {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.blog-card__footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}
.blog-card__author {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}
.blog-card__author img {
  border-radius: 50%;
  box-shadow: 0 6px 16px -10px rgba(17, 24, 39, 0.5);
  height: 44px;
  width: 44px;
}
.blog-card__author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.blog-card__author-name {
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 600;
}
.blog-card__category {
  color: #2563eb;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card__category:hover, .blog-card__category:focus-visible {
  color: #1e40af;
}
.blog-card__arrow {
  align-items: center;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  width: 42px;
}
.blog-card__arrow svg {
  height: 20px;
  width: 20px;
}
.blog-card__arrow:hover, .blog-card__arrow:focus-visible {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 20px -12px rgba(37, 99, 235, 0.7);
}
.blog-card--featured .blog-card__media {
  aspect-ratio: 2/1;
  max-height: 360px;
}
.blog-card--featured .blog-card__content {
  padding: 2rem;
}
.blog-card--featured .blog-card__title {
  font-size: clamp(1.35rem, 1.5vw + 1.1rem, 1.9rem);
}
.blog-card--featured .blog-card__excerpt {
  font-size: 1rem;
}
.blog-card--grid .blog-card__media {
  aspect-ratio: 16/11;
}
.blog-card--grid .blog-card__content {
  padding: clamp(1.25rem, 1vw + 1rem, 1.75rem);
}
.blog-card--list {
  display: block;
  gap: 0;
}
@media (min-width: 768px) {
  .blog-card--list {
    display: flex;
    flex-direction: row;
  }
}
.blog-card--list .blog-card__media {
  aspect-ratio: 4/3;
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .blog-card--list .blog-card__media {
    flex: 0 0 40%;
  }
}
.blog-card--list .blog-card__content {
  flex: 1;
  padding: 1rem;
}
@media (min-width: 768px) {
  .blog-card--list .blog-card__excerpt {
    font-size: 0.875rem;
  }
}

.blog-card__media:focus-visible,
.blog-card__arrow:focus-visible,
.blog-card__category:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.blog-section {
  padding-block: 3rem;
  background-color: #f9fafb;
}
.blog-section--insights, .blog-section--related {
  background-color: #ffffff;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-heading h2 {
  color: #111827;
  font-size: clamp(1.5rem, 1.5vw + 1.2rem, 2.2rem);
  margin-bottom: 0.5rem;
}
.section-heading p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.8;
}
.section-heading--inline {
  margin: 0;
  text-align: start;
}
.section-heading--inline h2 {
  margin: 0 0 0.25rem;
}

.blog-grid {
  display: grid;
  gap: clamp(1.5rem, 2vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.blog-grid .blog-card {
  height: 100%;
}

.blog-empty {
  text-align: center;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px dashed #e5e7eb;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #6b7280;
}
.blog-empty h3 {
  color: #1f2937;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog-pagination {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.blog-pagination .page-numbers {
  border-radius: 999px;
  color: #4b5563;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.5rem 0.95rem;
  margin-inline: 0.25rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
}
.blog-pagination .page-numbers:hover, .blog-pagination .page-numbers.current {
  background-color: #2563eb;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 18px -15px rgba(37, 99, 235, 0.7);
}

.blog-newsletter {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 55%), linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(148, 163, 184, 0.05));
  padding-block: 3rem;
}
.blog-newsletter__card {
  background: #ffffff;
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.25);
  display: grid;
  gap: clamp(1.75rem, 2vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 1024px) {
  .blog-newsletter__card {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }
}
.blog-newsletter__badge {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 12px 30px -18px rgba(59, 130, 246, 0.6);
}
.blog-newsletter__content h2 {
  color: #111827;
  font-size: clamp(1.6rem, 1.2vw + 1.4rem, 2.3rem);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.blog-newsletter__content p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.9;
}
.blog-newsletter__form {
  align-items: center;
  background: #f9fafb;
  border-radius: 0.75rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
@media (min-width: 768px) {
  .blog-newsletter__form {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.blog-newsletter__form input[type=email] {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  transition: all 0.2s ease-in-out;
}
.blog-newsletter__form input[type=email]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
  outline: none;
}
.blog-newsletter__form .btn {
  border-radius: 0.5rem;
  font-size: 0.875rem;
  padding-inline: clamp(1.25rem, 2vw, 2.25rem);
}
.blog-newsletter__form .blog-newsletter__hint {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
  grid-column: 1/-1;
}

/* Form components */
input,
textarea,
select {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input, .search-page__form-wrapper .search-form input[type=search], .access-token,
.form-textarea,
.client-info,
.form-select {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
  transition: border-color 0.15s ease;
}

.form-input:focus, .search-page__form-wrapper .search-form input[type=search]:focus, .access-token:focus,
.form-textarea:focus,
.client-info:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::-moz-placeholder, .search-page__form-wrapper .search-form input[type=search]::-moz-placeholder, .access-token::-moz-placeholder {
  color: #9ca3af;
}

.form-input::placeholder, .search-page__form-wrapper .search-form input[type=search]::placeholder, .access-token::placeholder {
  color: #9ca3af;
}

.client-info {
  min-height: 6.5rem;
  resize: vertical;
}

.access-token {
  background-color: #f3f4f6;
  cursor: pointer;
  color: #4b5563;
}

.creator-mini-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.creator-mini-card__header {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.creator-mini-card__avatar {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}
.creator-mini-card__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  border: 3px solid #dbeafe;
}
.creator-mini-card__status {
  position: absolute;
  inset-inline-end: -0.5rem;
  bottom: -0.5rem;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
}
.creator-mini-card__status .status-indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.creator-mini-card__status.is-online .status-indicator {
  background: #16a34a;
}
.creator-mini-card__status.is-offline .status-indicator {
  background: #9ca3af;
}
.creator-mini-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.creator-mini-card__name {
  margin: 0;
  font-size: 1.25rem;
}
.creator-mini-card__name a {
  color: inherit;
}
.creator-mini-card__role {
  margin: 0;
  color: #4b5563;
  font-weight: 500;
}
.creator-mini-card__location {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
}
.creator-mini-card__location svg {
  width: 1rem;
  height: 1rem;
}
.creator-mini-card__bio {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
}
.creator-mini-card__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}
.creator-mini-card__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  background: #f9fafb;
  width: 50%;
}
.creator-mini-card .stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}
.creator-mini-card .stat-value {
  font-size: 1.125rem;
  font-weight: 600;
}
.creator-mini-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .creator-mini-card__footer {
    flex-direction: row;
  }
}

.creator-mini-card-2 {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.creator-mini-card-2:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.creator-mini-card-2 .author-card__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.creator-mini-card-2 .author-avatar {
  position: relative;
}
.creator-mini-card-2 .author-avatar .avatar-image {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.creator-mini-card-2 .author-avatar .availability-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1rem;
  height: 1rem;
  background: #48bb78;
  border: 2px solid white;
  border-radius: 50%;
}
.creator-mini-card-2 .author-avatar .availability-status--unavailable {
  background: #f97316;
}
.creator-mini-card-2 .author-info {
  flex: 1;
}
.creator-mini-card-2 .author-info .author-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.creator-mini-card-2 .author-info .author-profession {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.creator-mini-card-2 .author-info .author-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.creator-mini-card-2 .author-info .author-location svg {
  width: 0.875rem;
  height: 0.875rem;
}
.creator-mini-card-2 .author-info .author-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.creator-mini-card-2 .author-info .author-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.creator-mini-card-2 .author-info .author-tag--onsite {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.creator-mini-card-2 .author-info .author-tag--availability {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.creator-mini-card-2 .author-info .author-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.creator-mini-card-2 .author-info .author-badge svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}
.creator-mini-card-2 .author-info .author-badge--certified {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.creator-mini-card-2 .author-bio {
  margin-bottom: 1.5rem;
}
.creator-mini-card-2 .author-bio p {
  color: #4b5563;
  line-height: 1.6;
}
.creator-mini-card-2 .author-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 0.5rem;
}
.creator-mini-card-2 .author-stats .stat-item {
  text-align: center;
}
.creator-mini-card-2 .author-stats .stat-item .stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.25rem;
}
.creator-mini-card-2 .author-stats .stat-item .stat-label {
  font-size: 0.75rem;
  color: #4b5563;
  font-weight: 500;
}
.creator-mini-card-2 .author-actions .view-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.creator-mini-card-2 .author-actions .view-profile-btn svg {
  width: 1rem;
  height: 1rem;
}
.creator-mini-card-2 .author-actions .view-profile-btn:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}

.post-order-mini-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.95));
  border: 1.5px solid rgba(59, 130, 246, 0.12);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 0.6s ease-out forwards;
}
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-order-mini-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.post-order-mini-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: #93c5fd;
}
.post-order-mini-card:hover::before {
  opacity: 1;
}
.post-order-mini-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.post-order-mini-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.post-order-mini-card__title a {
  color: inherit;
  text-decoration: none;
  position: relative;
}
.post-order-mini-card__title a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transition: width 0.3s ease;
}
.post-order-mini-card__title a:hover {
  color: #2563eb;
}
.post-order-mini-card__title a:hover::after {
  width: 100%;
}
.post-order-mini-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #6b7280;
}
@media (min-width: 640px) {
  .post-order-mini-card__meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.post-order-mini-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #374151;
}
.post-order-mini-card__author::before {
  content: "👤";
  font-size: 0.875rem;
  opacity: 0.7;
}
.post-order-mini-card__profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: 0.5rem;
  font-size: 0.75rem;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}
.post-order-mini-card__profile-link:hover {
  color: #1d4ed8;
  transform: translateX(3px);
}
.post-order-mini-card__profile-link::before {
  content: "→";
  font-size: 0.75rem;
}
.post-order-mini-card__date {
  color: #6b7280;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.post-order-mini-card__date::before {
  content: "📅";
  font-size: 0.75rem;
  opacity: 0.7;
}
.post-order-mini-card__excerpt {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  position: relative;
}
.post-order-mini-card__excerpt::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5em;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98), transparent);
  pointer-events: none;
}
.post-order-mini-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
  background: linear-gradient(to right, rgba(249, 250, 251, 0.5), rgba(255, 255, 255, 0.8));
  border-radius: 0 0 0.75rem 0.75rem;
  margin: 0.5rem -1.5rem -1.5rem;
}
@media (max-width: 640px) {
  .post-order-mini-card__footer {
    margin: 0.25rem -1rem -1rem;
    padding: 0.25rem 1rem;
  }
}
.post-order-mini-card__footer .btn {
  width: 100%;
  transition: all 0.3s ease;
}
.post-order-mini-card__footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Form components */
.dashboard-post-order-form .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.dashboard-post-order-form .create-content__wrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.dashboard-post-order-form .create-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.dashboard-post-order-form .create-form .form-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.dashboard-post-order-form .create-form .form-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.dashboard-post-order-form .create-form .form-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.dashboard-post-order-form .create-form .form-card__subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}
.dashboard-post-order-form .create-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  border-radius: 0.95rem;
  border: none;
  padding: 0.7rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.dashboard-post-order-form .create-form .button svg {
  width: 1.15rem;
  height: 1.15rem;
}
.dashboard-post-order-form .create-form .button:focus-visible {
  outline: 3px solid rgba(102, 126, 234, 0.35);
  outline-offset: 2px;
}
.dashboard-post-order-form .create-form .button--secondary {
  background: rgba(102, 126, 234, 0.14);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.18);
}
.dashboard-post-order-form .create-form .button--secondary:hover {
  background: rgba(102, 126, 234, 0.22);
  box-shadow: 0 18px 32px rgba(102, 126, 234, 0.22);
  transform: translateY(-2px);
}
.dashboard-post-order-form .create-form .button--ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #4b5563;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.dashboard-post-order-form .create-form .button--ghost:hover {
  background: rgba(248, 250, 252, 0.85);
  border-color: rgba(102, 126, 234, 0.55);
  transform: translateY(-2px);
}
.dashboard-post-order-form .create-form .button--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(102, 126, 234, 0.35);
}
.dashboard-post-order-form .create-form .button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(102, 126, 234, 0.45);
}
.dashboard-post-order-form .create-form .button--primary:active {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.35);
}
.dashboard-post-order-form .create-form .button--large {
  min-height: 3.2rem;
  padding-inline: 2.25rem;
  font-size: 1.05rem;
}
.dashboard-post-order-form .form-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.dashboard-post-order-form .form-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.dashboard-post-order-form .form-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.dashboard-post-order-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.dashboard-post-order-form .form-field--full {
  grid-column: 1/-1;
}
.dashboard-post-order-form .form-field .field-label {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.95rem;
}
.dashboard-post-order-form .form-field .field-input,
.dashboard-post-order-form .form-field select,
.dashboard-post-order-form .form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.85);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.95rem;
  color: #1f2937;
}
.dashboard-post-order-form .form-field .field-input:focus,
.dashboard-post-order-form .form-field select:focus,
.dashboard-post-order-form .form-field textarea:focus {
  border-color: rgba(102, 126, 234, 0.75);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  outline: none;
}
.dashboard-post-order-form .form-field .field-input.has-error {
  border-color: rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}
.dashboard-post-order-form .form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.dashboard-post-order-form .form-field .field-note {
  font-size: 0.85rem;
  color: #6b7280;
}
.dashboard-post-order-form .form-field .field-error {
  font-size: 0.85rem;
  color: #ef4444;
}
.dashboard-post-order-form .keyword-input-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 640px) {
  .dashboard-post-order-form .keyword-input-group {
    flex-direction: column;
    align-items: stretch;
  }
}
.dashboard-post-order-form .keyword-input-group .button {
  flex-shrink: 0;
  min-width: 120px;
}
.dashboard-post-order-form .keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.5rem;
}
.dashboard-post-order-form .keyword-list::before {
  content: attr(data-empty-text);
  font-size: 0.9rem;
  color: #9ca3af;
  display: none;
}
.dashboard-post-order-form .keyword-list[data-empty=true]::before {
  display: block;
}
.dashboard-post-order-form .keyword-list .keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(102, 126, 234, 0.12);
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.dashboard-post-order-form .keyword-list .keyword-chip:hover {
  transform: translateY(-2px);
  background: rgba(102, 126, 234, 0.2);
}
.dashboard-post-order-form .keyword-list .keyword-chip button {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
.dashboard-post-order-form .keyword-list .keyword-chip button:hover {
  transform: scale(1.1);
}
.dashboard-post-order-form .feature-toggle-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.dashboard-post-order-form .feature-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dashboard-post-order-form .feature-toggle input {
  width: 1.1rem;
  height: 1.1rem;
}
.dashboard-post-order-form .feature-toggle__label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
}
.dashboard-post-order-form .feature-toggle:hover, input:checked + .dashboard-post-order-form .feature-toggle__label {
  border-color: rgba(102, 126, 234, 0.55);
  background: rgba(102, 126, 234, 0.08);
  box-shadow: 0 16px 30px rgba(102, 126, 234, 0.12);
}
.dashboard-post-order-form [data-feature-section] {
  display: block;
}
.dashboard-post-order-form .faq-list {
  display: grid;
  gap: 1.25rem;
}
.dashboard-post-order-form .faq-item {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(102, 126, 234, 0.3);
  background: rgba(248, 250, 252, 0.75);
  display: grid;
  gap: 1rem;
}
.dashboard-post-order-form .faq-item__remove {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  color: rgba(239, 68, 68, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-post-order-form .faq-item__remove:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(239, 68, 68, 0.25);
}
.dashboard-post-order-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .dashboard-post-order-form .form-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .dashboard-post-order-form .form-actions .button {
    width: 100%;
    justify-content: center;
  }
}
.dashboard-post-order-form .form-actions .button {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.comment-box-style-1 {
  margin-block-start: clamp(2rem, 4vw, 3rem);
}
.comment-box-style-1__inner {
  background: #ffffff;
  border-radius: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 32px 60px -45px rgba(37, 99, 235, 0.25);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  gap: clamp(1.75rem, 2.5vw, 2.5rem);
}

.comments-area--closed {
  background: #f9fafb;
  border-radius: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.comments-area--closed .comments-area__message {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.comment-form-style-1__header {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.comment-form-style-1__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.25rem, 4vw, 3.75rem);
  height: clamp(3.25rem, 4vw, 3.75rem);
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  color: #ffffff;
  box-shadow: 0 20px 35px -25px rgba(37, 99, 235, 0.55);
}
.comment-form-style-1__heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.comment-form-style-1__title {
  margin: 0;
  font-size: clamp(1.35rem, 1vw + 1.1rem, 1.85rem);
  color: #111827;
  font-weight: 700;
}
.comment-form-style-1__description {
  margin: 0;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.9;
}
.comment-form-style-1__body {
  margin-block-start: clamp(1.5rem, 2vw, 2.25rem);
}
.comment-form-style-1__form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
.comment-form-style-1__fields {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .comment-form-style-1__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.comment-form-style-1__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.comment-form-style-1__label {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 600;
}
.comment-form-style-1__input, .comment-form-style-1__textarea {
  border: 1px solid #e5e7eb;
  border-radius: clamp(0.85rem, 2vw, 1.15rem);
  background: #f9fafb;
  padding: clamp(0.8rem, 1.6vw, 1.05rem) clamp(1.15rem, 2.6vw, 1.75rem);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  color: #374151;
  transition: all 0.2s ease-in-out;
  min-width: 0;
}
.comment-form-style-1__input::-moz-placeholder, .comment-form-style-1__textarea::-moz-placeholder {
  color: #9ca3af;
}
.comment-form-style-1__input::placeholder, .comment-form-style-1__textarea::placeholder {
  color: #9ca3af;
}
.comment-form-style-1__input:focus, .comment-form-style-1__textarea:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  color: #111827;
  outline: none;
}
.comment-form-style-1__textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.85;
}
.comment-form-style-1__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.comment-form-style-1__consent input {
  margin-top: 0.3rem;
}
.comment-form-style-1__consent label {
  cursor: pointer;
}
.comment-form-style-1__logged-in, .comment-form-style-1__must-login {
  border-radius: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(0.85rem, 2vw, 1rem) clamp(1.1rem, 2.5vw, 1.75rem);
  font-size: 0.875rem;
  line-height: 1.8;
}
.comment-form-style-1__logged-in a, .comment-form-style-1__must-login a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}
.comment-form-style-1__logged-in {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
}
.comment-form-style-1__must-login {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}
.comment-form-style-1__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start;
}
.comment-form-style-1__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(0.75rem, 1.5vw, 0.95rem);
  border-radius: 999px;
  box-shadow: 0 22px 40px -24px rgba(37, 99, 235, 0.55);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-form-style-1__submit:hover, .comment-form-style-1__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 28px 48px -24px rgba(37, 99, 235, 0.65);
}
.comment-form-style-1__submit-icon {
  display: inline-flex;
}
.comment-form-style-1__submit-icon svg {
  width: 1rem;
  height: 1rem;
}
.comment-form-style-1__cancel {
  margin-inline-start: auto;
}
.comment-form-style-1__cancel #cancel-comment-reply-link {
  color: #6b7280;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.comment-form-style-1__cancel #cancel-comment-reply-link:hover, .comment-form-style-1__cancel #cancel-comment-reply-link:focus-visible {
  color: #374151;
}

.comment-list-style-1 {
  display: grid;
  gap: clamp(1.75rem, 2.5vw, 2.5rem);
}
.comment-list-style-1__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}
.comment-list-style-1__title {
  margin: 0;
  font-size: clamp(1.35rem, 1.5vw + 1rem, 1.85rem);
  color: #111827;
  font-weight: 700;
}
.comment-list-style-1__subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.8;
}
.comment-list-style-1__list {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.75rem);
}

.comment-item {
  position: relative;
}
.comment-item__inner {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-item:hover .comment-item__inner {
  transform: translateY(-2px);
  box-shadow: 0 26px 55px -30px rgba(15, 23, 42, 0.4);
}
.comment-item__avatar {
  flex-shrink: 0;
}
.comment-item__avatar img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 12px 22px -18px rgba(15, 23, 42, 0.55);
}
.comment-item__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
}
.comment-item__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (min-width: 768px) {
  .comment-item__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.comment-item__author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .comment-item__author {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
}
.comment-item__author-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
}
.comment-item__date {
  font-size: 0.75rem;
  color: #6b7280;
}
.comment-item__meta {
  margin-inline-start: auto;
  font-size: 0.75rem;
  color: #9ca3af;
}
.comment-item__edit {
  color: #9ca3af;
  font-size: 0.75rem;
}
.comment-item__text {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.85;
}
.comment-item__text p {
  margin: 0 0 0.5rem;
}
.comment-item__text a {
  color: #2563eb;
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
}
.comment-item__text a:hover, .comment-item__text a:focus-visible {
  color: #1e40af;
}
.comment-item__moderation {
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: clamp(0.75rem, 2vw, 1rem);
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.75rem;
}
.comment-item__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.comment-item__reply a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.comment-item__reply a:hover, .comment-item__reply a:focus-visible {
  color: #1e40af;
  transform: translateX(-2px);
}
.comment-item__reply-icon {
  display: inline-flex;
}
.comment-item__reply-icon svg {
  width: 1rem;
  height: 1rem;
}
.comment-item.depth-2 {
  margin-inline-start: clamp(1.25rem, 4vw, 2.5rem);
}
.comment-item.depth-3 {
  margin-inline-start: clamp(1.75rem, 5vw, 3rem);
}

.comments-area__title {
  margin-block: 0 clamp(1.25rem, 2vw, 1.75rem);
  color: #111827;
  font-size: clamp(1.5rem, 1.5vw + 1.2rem, 2rem);
  font-weight: 700;
}

.page-article__comments-title {
  margin: 0 0 clamp(1rem, 1.5vw, 1.5rem);
  font-size: clamp(1.35rem, 1.4vw + 1rem, 1.75rem);
  color: #111827;
  font-weight: 700;
}

.page-article__comments {
  margin-block-start: clamp(2.5rem, 4vw, 3.5rem);
}

.single-article__comments {
  margin-block-start: clamp(3rem, 5vw, 5.5rem);
}

.single-article__comments-title {
  margin: 0 0 clamp(1.5rem, 2vw, 2rem);
  font-size: clamp(1.6rem, 1.6vw + 1.2rem, 2.1rem);
  color: #111827;
  font-weight: 700;
}

/* Toast Notification Component */
.abarghoi-toast {
  position: fixed;
  top: clamp(1rem, 4vw, 2.5rem);
  inset-inline-start: 50%;
  transform: translate(-50%, -1.25rem);
  min-width: min(92vw, 420px);
  padding: 0.85rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(102, 126, 234, 0.95);
  color: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 120;
  direction: rtl;
}

.abarghoi-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.abarghoi-toast__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: inherit;
}

.abarghoi-toast__icon::before {
  content: attr(data-abarghoi-toast-icon);
}

.abarghoi-toast__message {
  margin: 0;
  flex: 1;
  font-weight: 600;
  line-height: 1.7;
}

.abarghoi-toast__close {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.abarghoi-toast__close:hover,
.abarghoi-toast__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.abarghoi-toast[data-state=success] {
  background: rgba(34, 197, 94, 0.95);
  border-color: rgba(21, 128, 61, 0.35);
}

.abarghoi-toast[data-state=success] .abarghoi-toast__icon {
  background: rgba(255, 255, 255, 0.22);
}

.abarghoi-toast[data-state=error] {
  background: rgba(220, 38, 38, 0.95);
  border-color: rgba(127, 29, 29, 0.4);
}

.abarghoi-toast[data-state=warning] {
  background: rgba(234, 179, 8, 0.94);
  border-color: rgba(202, 138, 4, 0.45);
  color: #1f2937;
}

.abarghoi-toast[data-state=warning] .abarghoi-toast__icon {
  background: rgba(255, 255, 255, 0.3);
  color: #1f2937;
}

.abarghoi-toast[data-state=info] {
  background: rgba(59, 130, 246, 0.95);
  border-color: rgba(29, 78, 216, 0.4);
}

.abarghoi-toast[data-state=info] .abarghoi-toast__icon {
  background: rgba(255, 255, 255, 0.22);
}

/* Header page styles */
.site-header {
  background-color: #ffffff; /* Solid white to avoid transparency issues */
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  direction: rtl; /* Explicit RTL for header elements */
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo-img {
  max-height: 4rem;
  width: auto;
}

.site-logo h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
}

.nav-menu {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  list-style: none;
}

@media (min-width: 768px) {
  .nav-menu {
    flex-direction: row-reverse;
    width: auto;
    gap: 2rem;
  }
}
.nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s ease;
  padding-block: 0.5rem;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: #f3f4f6;
  text-decoration: none !important;
}

.header-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #6b7280;
  transition: color 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.header-toggle:hover {
  color: var(--primary-color);
}

.nav-header-left .nav-icon {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: #25292d;
  border: 1px solid #d4d5d6;
  border-radius: 8px;
  box-sizing: border-box;
  height: 40px;
  width: 40px;
  margin: 5px;
  text-align: center;
}
.nav-header-left .announce-nav-desktop {
  position: relative;
}

#desktop-search-dropdown {
  position: absolute;
  top: 100%;
  right: auto;
  left: 0; /* RTL: align to left (start) */
  margin-top: 0.5rem;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  width: 20rem;
  max-width: 90vw; /* Responsive for mobile */
  z-index: 10;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
}
#desktop-search-dropdown form {
  margin-bottom: 0;
}
#desktop-search-dropdown::before {
  height: 0.5rem;
  box-sizing: content-box;
  content: "";
  position: absolute;
  top: -0.5rem;
  width: 100%;
  right: 0;
}

.announce-nav-desktop:hover #desktop-search-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  text-align: right; /* RTL text */
  direction: rtl;
}

.mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  .mobile-menu {
    display: block;
  }
  #desktop-search-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}
.announce-container {
  padding: 1rem;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  max-height: 100vh;
  overflow-y: auto;
  direction: rtl;
}

/* Mobile Off-canvas Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9998;
}

.mobile-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0; /* RTL: open from right */
  width: 80vw; /* 80% of screen */
  max-width: 420px;
  background: #fff;
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 8px;
  border: 1px solid #d4d5d6;
  background: #fff;
  color: #25292d;
}

.mobile-search {
  padding: 0.75rem 1rem;
}
.mobile-search form {
  margin-bottom: 0;
}

.mobile-nav {
  padding: 0.5rem 0 1rem;
  overflow-y: auto;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu > li {
  border-bottom: 1px solid #eef0f2;
}

.mobile-nav-menu a {
  display: block;
  padding: 0.875rem 1rem;
  color: #111827;
  text-decoration: none;
}

.mobile-nav-menu .menu-item-has-children > a {
  position: relative;
  padding-inline-end: 2.25rem; /* space for toggle */
}

.mobile-nav-menu .menu-item-has-children {
  position: relative;
}

.mobile-nav-menu .submenu-toggle {
  position: absolute;
  top: 2.1rem;
  inset-inline-end: 0.5rem;
  left: 0.5rem;
  transform: translateY(-50%);
  height: 32px;
  width: 32px;
  border: 1px solid #d4d5d6;
  border-radius: 8px;
  background: #fff;
  color: #25292d;
}

.mobile-nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 0;
}

.mobile-nav-menu .sub-menu > li > a {
  padding: 0.7rem 2.5rem 0.7rem 1rem;
}

.mobile-nav-menu .open > .submenu-toggle svg {
  transform: rotate(180deg);
}

/* Prevent body scroll when drawer is open */
body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

.search-result {
  margin-top: 1rem;
}

.search-result-item {
  background-color: #f9fafb;
  padding: 0.75rem;
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid #e5e7eb;
}

.navbar-foot {
  text-align: center;
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.15s ease;
}

.navbar-foot:hover {
  color: var(--primary-color);
}

/* Submenu - RTL friendly */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 0;
  min-width: 16rem;
  z-index: 10;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
  list-style: none;
  margin: 0;
}

.nav-menu .sub-menu li {
  list-style: none;
  margin-bottom: 0;
}
.nav-menu .sub-menu li:not(:first-child) {
  margin-top: 0.25rem;
}

.menu-item-has-children {
  position: relative;
}

.nav-menu .menu-item-has-children:hover .sub-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.5rem;
}
.nav-menu .menu-item-has-children:hover .sub-menu::before {
  height: 0.5rem;
  box-sizing: content-box;
  content: "";
  position: absolute;
  top: -0.5rem;
  width: 100%;
  right: 0;
}

.nav-menu .sub-menu .sub-menu {
  top: 0;
  right: 100%; /* RTL: sub-submenu to the right */
  left: auto;
  margin-right: 0.5rem;
  margin-left: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-divider {
  width: 1px;
  height: 4rem;
  background-color: #e5e7eb;
  margin-inline-end: 1rem;
  display: none;
}
@media (min-width: 768px) {
  .header-divider {
    display: block;
  }
}

.site-logo {
  flex-shrink: 0;
}

.site-logo-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
}

.mobile-togglers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .mobile-togglers {
    display: none;
  }
}

.header-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #6b7280;
  transition: color 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
  gap: 0.5rem;
}
.header-toggle:hover {
  color: var(--primary-color);
}

.navbar-collapse {
  flex-direction: row;
  justify-content: center;
  flex: 1;
  width: auto;
  gap: 1rem;
  padding-inline: 1rem;
}
@media (max-width: 768px) {
  .navbar-collapse {
    display: none;
  }
}

.nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) {
  .nav-menu {
    flex-direction: row;
    width: auto;
    gap: 1rem;
  }
}

.nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--primary-color);
  background-color: #f3f4f6;
  text-decoration: none !important;
}

.nav-header-left {
  display: none;
}
@media (min-width: 768px) {
  .nav-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-inline-end: 2rem;
  }
}

.desktop-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #6b7280;
  transition: color 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
  gap: 0.5rem;
}
.desktop-search-toggle:hover {
  color: var(--primary-color);
}

.header-mobile-open-menu {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: #25292d;
  background-color: #fff;
  border: 1px solid #d4d5d6;
  border-radius: 8px;
  box-sizing: border-box;
  height: 40px;
  width: 40px;
  margin: 5px;
  text-align: center;
}

.desktop-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  width: 20rem;
  z-index: 10;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
}
.announce-nav-desktop:hover .desktop-search-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.search-form {
  margin-bottom: 1rem;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  text-align: right;
  direction: rtl;
}
.search-input::-moz-placeholder {
  color: #6b7280;
}
.search-input::placeholder {
  color: #6b7280;
}

.search-result {
  margin-top: 1rem;
}

.search-result-item {
  background-color: #f9fafb;
  padding: 0.75rem;
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid #e5e7eb;
}

.search-result-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.navbar-foot {
  text-align: center;
  padding-block: 0.75rem;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.15s ease;
}
.navbar-foot:hover {
  color: var(--primary-color);
}

.mobile-menu {
  display: none;
}
@media (max-width: 767px) {
  .mobile-menu {
    display: block;
  }
}

.announce-container {
  padding: 1rem;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  max-height: 100vh;
  overflow-y: auto;
  direction: rtl;
}

/* Footer page styles */
.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  direction: rtl;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.3" fill="rgba(255,255,255,0.01)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>');
  pointer-events: none;
  z-index: 1;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}
@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 1.5rem;
  }
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 640px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right;
  animation: fadeInUp 0.6s ease-out both;
}
.site-footer .footer-col:nth-child(1) {
  animation-delay: 0.1s;
}
.site-footer .footer-col:nth-child(2) {
  animation-delay: 0.2s;
}
.site-footer .footer-col:nth-child(3) {
  animation-delay: 0.3s;
}
.site-footer .footer-col:nth-child(4) {
  animation-delay: 0.4s;
}
@media (max-width: 1024px) {
  .site-footer .footer-col {
    text-align: center;
  }
  .site-footer .footer-col:nth-child(odd) {
    animation-delay: 0.1s;
  }
  .site-footer .footer-col:nth-child(even) {
    animation-delay: 0.2s;
  }
}
@media (max-width: 640px) {
  .site-footer .footer-col {
    text-align: right;
    animation-delay: 0.1s;
  }
}
.site-footer .footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
  position: relative;
  display: inline-block;
}
@media (max-width: 1024px) {
  .site-footer .footer-title {
    margin: 0 auto 1rem auto;
    width: -moz-fit-content;
    width: fit-content;
  }
}
@media (max-width: 640px) {
  .site-footer .footer-title {
    margin: 0 0 1rem 0;
    width: auto;
  }
}
.site-footer .footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  animation: slideInRight 0.6s ease-out 0.5s both;
}
@media (max-width: 1024px) {
  .site-footer .footer-title::after {
    right: 2px;
    transform: translateX(-50%);
  }
}
@media (max-width: 640px) {
  .site-footer .footer-title::after {
    right: 0;
    transform: none;
  }
}
.site-footer .footer-description {
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}
.site-footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.site-footer .footer-list li {
  margin: 0;
}
.site-footer .footer-list a {
  color: rgba(203, 213, 225, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
}
.site-footer .footer-list a::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}
.site-footer .footer-list a:hover {
  color: white;
  transform: translateX(-4px);
}
.site-footer .footer-list a:hover::before {
  width: 100%;
}
.site-footer .footer-list a:focus {
  outline: none;
  color: white;
}
.site-footer .footer-list a:focus::before {
  width: 100%;
}
.site-footer .footer-about .footer-description {
  max-width: 400px;
}
@media (max-width: 1024px) {
  .site-footer .footer-about .footer-description {
    max-width: none;
  }
}
.site-footer .footer-social .social-links {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .site-footer .footer-social .social-links {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .site-footer .footer-social .social-links {
    justify-content: flex-start;
  }
}
.site-footer .footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(203, 213, 225, 0.8);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.site-footer .footer-social .social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-footer .footer-social .social-link:hover {
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}
.site-footer .footer-social .social-link:hover::before {
  opacity: 1;
}
.site-footer .footer-social .social-link:hover .social-icon {
  transform: scale(1.1);
}
.site-footer .footer-social .social-link:focus {
  outline: none;
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}
.site-footer .footer-social .social-link .social-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.site-footer .footer-social .social-link .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  position: relative;
}
.site-footer .footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}
.site-footer .footer-bottom .footer-copyright {
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.site-footer .footer-bottom .footer-credits {
  color: rgba(148, 163, 184, 0.6);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.site-footer .footer-bottom .footer-credits::before {
  content: "💙";
  font-size: 1rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Professional Dashboard Styles */
.dashboard-page-main {
  min-height: 100vh;
  background: #F2F4FD;
  padding: 2rem 0;
}
.dashboard-page-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.dashboard-page-main .dashboard__header {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .dashboard-page-main .dashboard__header {
    flex-direction: column-reverse;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }
}
.dashboard-page-main .dashboard__header .dashboard__welcome {
  flex: 1;
}
@media (max-width: 768px) {
  .dashboard-page-main .dashboard__header .dashboard__welcome {
    width: 100%;
    text-align: center;
  }
}
.dashboard-page-main .dashboard__header .dashboard__title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  .dashboard-page-main .dashboard__header .dashboard__title {
    font-size: 1.5rem;
  }
}
.dashboard-page-main .dashboard__header .dashboard__greeting {
  color: #4b5563;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .dashboard-page-main .dashboard__header .dashboard__greeting {
    font-size: 0.95rem;
  }
}
.dashboard-page-main .dashboard__header .dashboard__avatar img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.dashboard-page-main .dashboard__actions {
  margin-bottom: 2rem;
}
.dashboard-page-main .dashboard__actions .action-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.dashboard-page-main .action-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.dashboard-page-main .action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}
.dashboard-page-main .action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.dashboard-page-main .action-card:hover::before {
  left: 100%;
}
.dashboard-page-main .action-card .action-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
}
.dashboard-page-main .action-card .action-card__icon svg {
  width: 100%;
  height: 100%;
  color: #667eea;
}
.dashboard-page-main .action-card .action-card__content {
  margin-bottom: 1.5rem;
}
.dashboard-page-main .action-card .action-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.dashboard-page-main .action-card .action-card__description {
  color: #4b5563;
  line-height: 1.6;
}
.dashboard-page-main .action-card .action-card__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}
.dashboard-page-main .action-card .action-card__button:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}
.dashboard-page-main .action-card .action-card__button--secondary {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.dashboard-page-main .action-card .action-card__button--secondary:hover {
  background: rgba(102, 126, 234, 0.2);
}
.dashboard-page-main .action-card--primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}
.dashboard-page-main .action-card--primary .action-card__icon svg {
  color: #fff;
}
.dashboard-page-main .action-card--primary .action-card__title, .dashboard-page-main .action-card--primary .action-card__description {
  color: #fff;
}
.dashboard-page-main .action-card--primary .action-card__button {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.dashboard-page-main .action-card--primary .action-card__button:hover {
  background: rgba(255, 255, 255, 0.3);
}
.dashboard-page-main .dashboard__stats {
  margin-bottom: 2rem;
}
.dashboard-page-main .dashboard__stats .stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.dashboard-page-main .stat-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dashboard-page-main .stat-item .stat-item__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}
.dashboard-page-main .stat-item .stat-item__label {
  color: #4b5563;
  font-weight: 500;
}
.dashboard-page-main .stat-item--success {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
}
.dashboard-page-main .stat-item--success .stat-item__number,
.dashboard-page-main .stat-item--success .stat-item__label {
  color: white;
}
.dashboard-page-main .stat-item--warning {
  background: linear-gradient(135deg, #ed8936, #dd6b20);
  color: white;
}
.dashboard-page-main .stat-item--warning .stat-item__number,
.dashboard-page-main .stat-item--warning .stat-item__label {
  color: white;
}
.dashboard-page-main .stat-item--info {
  background: linear-gradient(135deg, #4299e1, #3182ce);
  color: white;
}
.dashboard-page-main .stat-item--info .stat-item__number,
.dashboard-page-main .stat-item--info .stat-item__label {
  color: white;
}
.dashboard-page-main .dashboard__content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dashboard-page-main .dashboard__content .section-header {
  margin-bottom: 2rem;
  text-align: center;
}
.dashboard-page-main .dashboard__content .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.dashboard-page-main .dashboard__content .section-subtitle {
  color: #4b5563;
}
.dashboard-page-main .empty-state {
  text-align: center;
  padding: 3rem 2rem;
}
.dashboard-page-main .empty-state .empty-state__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  color: #9ca3af;
}
.dashboard-page-main .empty-state .empty-state__icon svg {
  width: 100%;
  height: 100%;
}
.dashboard-page-main .empty-state .empty-state__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.dashboard-page-main .empty-state .empty-state__description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.dashboard-page-main .content-list .content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .dashboard-page-main .content-list .content-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
}
.dashboard-page-main .content-list .content-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}
.dashboard-page-main .content-list .content-item .content-item__main {
  flex: 1;
}
@media (max-width: 768px) {
  .dashboard-page-main .content-list .content-item .content-item__main {
    width: 100%;
  }
}
.dashboard-page-main .content-list .content-item .content-item__title {
  margin-bottom: 0.5rem;
}
.dashboard-page-main .content-list .content-item .content-item__title a {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}
.dashboard-page-main .content-list .content-item .content-item__title a:hover {
  color: #667eea;
}
.dashboard-page-main .content-list .content-item .content-item__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #4b5563;
}
@media (max-width: 768px) {
  .dashboard-page-main .content-list .content-item .content-item__meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
.dashboard-page-main .content-list .content-item .content-item__actions {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .dashboard-page-main .content-list .content-item .content-item__actions {
    width: 100%;
    justify-content: center;
  }
}
.dashboard-page-main .status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.dashboard-page-main .status-badge--public {
  background: rgba(72, 187, 120, 0.1);
  color: #38a169;
}
.dashboard-page-main .status-badge--private {
  background: rgba(237, 137, 54, 0.1);
  color: #dd6b20;
}
.dashboard-page-main .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dashboard-page-main .action-button svg {
  width: 1.25rem;
  height: 1.25rem;
}
.dashboard-page-main .action-button:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}
.dashboard-page-main .action-button--danger {
  background: rgba(245, 101, 101, 0.1);
  color: #f56565;
}
.dashboard-page-main .action-button--danger:hover {
  background: rgba(245, 101, 101, 0.2);
}
.dashboard-page-main .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dashboard-page-main .button svg {
  width: 1rem;
  height: 1rem;
}
.dashboard-page-main .button--primary {
  background: #667eea;
  color: white;
}
.dashboard-page-main .button--primary:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}
.dashboard-page-main .button--secondary {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.dashboard-page-main .button--secondary:hover {
  background: rgba(102, 126, 234, 0.2);
}
.dashboard-page-main .profile-editor {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0;
}
.dashboard-page-main .profile-editor .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.dashboard-page-main .page-header {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-page-main .page-header .page-header__content {
  flex: 1;
}
.dashboard-page-main .page-header .page-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dashboard-page-main .page-header .page-subtitle {
  color: #4b5563;
  font-size: 1.1rem;
}
.dashboard-page-main .page-header .back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.dashboard-page-main .page-header .back-button svg {
  width: 1rem;
  height: 1rem;
}
.dashboard-page-main .page-header .back-button:hover {
  background: rgba(102, 126, 234, 0.2);
}
.dashboard-page-main .profile-editor__content {
  display: grid;
  gap: 2rem;
  grid-template-columns: 300px 1fr;
}
@media (max-width: 768px) {
  .dashboard-page-main .profile-editor__content {
    grid-template-columns: 1fr;
  }
}
.dashboard-page-main .profile-sidebar .avatar-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-image {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-overlay .avatar-upload-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-overlay .avatar-upload-button svg {
  width: 1.5rem;
  height: 1.5rem;
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-wrapper:hover .avatar-overlay {
  opacity: 1;
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-info .user-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.dashboard-page-main .profile-sidebar .avatar-section .avatar-info .user-phone {
  color: #4b5563;
  font-size: 0.875rem;
}
.dashboard-page-main .profile-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dashboard-page-main .profile-form-container .form-sections .form-section {
  margin-bottom: 2.5rem;
}
.dashboard-page-main .profile-form-container .form-sections .form-section:last-child {
  margin-bottom: 0;
}
.dashboard-page-main .profile-form-container .form-sections .form-section .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #667eea;
}
.dashboard-page-main .profile-form-container .form-sections .form-section .form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.dashboard-page-main .profile-form-container .form-field .field-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.dashboard-page-main .profile-form-container .form-field .field-input,
.dashboard-page-main .profile-form-container .form-field .field-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}
.dashboard-page-main .profile-form-container .form-field .field-input:focus,
.dashboard-page-main .profile-form-container .form-field .field-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.dashboard-page-main .profile-form-container .form-field .field-input--disabled,
.dashboard-page-main .profile-form-container .form-field .field-textarea--disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}
.dashboard-page-main .profile-form-container .form-field .field-input--with-prefix,
.dashboard-page-main .profile-form-container .form-field .field-textarea--with-prefix {
  border-radius: 0 0.5rem 0.5rem 0;
}
.dashboard-page-main .profile-form-container .form-field .field-textarea {
  resize: vertical;
  min-height: 120px;
}
.dashboard-page-main .profile-form-container .form-field .input-group {
  display: flex;
}
.dashboard-page-main .profile-form-container .form-field .input-group .input-prefix {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-left: none;
  border-radius: 0.5rem 0 0 0.5rem;
  color: #4b5563;
  font-weight: 600;
}
.dashboard-page-main .profile-form-container .form-field .field-note {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.dashboard-page-main .profile-form-container .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.dashboard-page-main .hidden {
  display: none !important;
}
.dashboard-page-main .ajax-form .form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.dashboard-page-main .ajax-form .form-message.success {
  background: rgba(72, 187, 120, 0.1);
  color: #38a169;
  border: 1px solid rgba(72, 187, 120, 0.2);
}
.dashboard-page-main .ajax-form .form-message.error {
  background: rgba(245, 101, 101, 0.1);
  color: #f56565;
  border: 1px solid rgba(245, 101, 101, 0.2);
}

/* Professional Profile Editor Styles */
.profile-editor-page-main {
  min-height: 100vh;
  background: #f2f4fd;
  padding: 2rem 0;
}
.profile-editor-page-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.profile-editor-page-main .page-header {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .profile-editor-page-main .page-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
}
.profile-editor-page-main .page-header .page-header__content {
  flex: 1;
}
@media (max-width: 768px) {
  .profile-editor-page-main .page-header .page-header__content {
    width: 100%;
    text-align: center;
  }
}
.profile-editor-page-main .page-header .page-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  .profile-editor-page-main .page-header .page-title {
    font-size: 1.5rem;
  }
}
.profile-editor-page-main .page-header .page-subtitle {
  color: #4b5563;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .profile-editor-page-main .page-header .page-subtitle {
    font-size: 0.95rem;
  }
}
.profile-editor-page-main .page-header .back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
@media (max-width: 768px) {
  .profile-editor-page-main .page-header .back-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1rem;
  }
}
.profile-editor-page-main .page-header .back-button svg {
  width: 1rem;
  height: 1rem;
}
.profile-editor-page-main .page-header .back-button:hover {
  background: rgba(102, 126, 234, 0.2);
}
.profile-editor-page-main .profile-editor__content {
  display: grid;
  gap: 2rem;
  grid-template-columns: 300px 1fr;
}
@media (max-width: 768px) {
  .profile-editor-page-main .profile-editor__content {
    grid-template-columns: 1fr;
  }
}
.profile-editor-page-main .profile-sidebar .avatar-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-image {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-overlay .avatar-upload-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-wrapper .avatar-overlay .avatar-upload-button svg {
  width: 1.5rem;
  height: 1.5rem;
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-wrapper:hover .avatar-overlay {
  opacity: 1;
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-info .user-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.profile-editor-page-main .profile-sidebar .avatar-section .avatar-info .user-phone {
  color: #4b5563;
  font-size: 0.875rem;
}
.profile-editor-page-main .profile-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.profile-editor-page-main .profile-form-container .form-sections .form-section {
  margin-bottom: 2.5rem;
}
.profile-editor-page-main .profile-form-container .form-sections .form-section:last-child {
  margin-bottom: 0;
}
.profile-editor-page-main .profile-form-container .form-sections .form-section .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #667eea;
}
.profile-editor-page-main .profile-form-container .form-sections .form-section .form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.profile-editor-page-main .profile-form-container .form-field .field-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.profile-editor-page-main .profile-form-container .form-field .field-input,
.profile-editor-page-main .profile-form-container .form-field .field-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}
.profile-editor-page-main .profile-form-container .form-field .field-input:focus,
.profile-editor-page-main .profile-form-container .form-field .field-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.profile-editor-page-main .profile-form-container .form-field .field-input--disabled,
.profile-editor-page-main .profile-form-container .form-field .field-textarea--disabled {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}
.profile-editor-page-main .profile-form-container .form-field .field-input--with-prefix,
.profile-editor-page-main .profile-form-container .form-field .field-textarea--with-prefix {
  border-radius: 0 0.5rem 0.5rem 0;
}
.profile-editor-page-main .profile-form-container .form-field .field-textarea {
  resize: vertical;
  min-height: 120px;
}
.profile-editor-page-main .profile-form-container .form-field .input-group {
  display: flex;
}
.profile-editor-page-main .profile-form-container .form-field .input-group .input-prefix {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-left: none;
  border-radius: 0.5rem 0 0 0.5rem;
  color: #4b5563;
  font-weight: 600;
}
.profile-editor-page-main .profile-form-container .form-field .field-note {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}
.profile-editor-page-main .profile-form-container .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.profile-editor-page-main .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.profile-editor-page-main .button svg {
  width: 1rem;
  height: 1rem;
}
.profile-editor-page-main .button--primary {
  background: #667eea;
  color: white;
}
.profile-editor-page-main .button--primary:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}
.profile-editor-page-main .button--secondary {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.profile-editor-page-main .button--secondary:hover {
  background: rgba(102, 126, 234, 0.2);
}
.profile-editor-page-main .button--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.profile-editor-page-main .hidden {
  display: none !important;
}
.profile-editor-page-main .ajax-form .form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.profile-editor-page-main .ajax-form .form-message.success {
  background: rgba(72, 187, 120, 0.1);
  color: #38a169;
  border: 1px solid rgba(72, 187, 120, 0.2);
}
.profile-editor-page-main .ajax-form .form-message.error {
  background: rgba(245, 101, 101, 0.1);
  color: #f56565;
  border: 1px solid rgba(245, 101, 101, 0.2);
}

/* Author Profile & Authors List Styles */
.author-page-main {
  min-height: 100vh;
  background: #f2f4fd;
}
.author-page-main .author-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  color: white;
  direction: rtl;
}
.author-page-main .author-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.author-page-main .author-hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  text-align: right;
}
@media (max-width: 768px) {
  .author-page-main .author-hero .hero-content {
    gap: 2.5rem;
  }
}
.author-page-main .author-hero .hero-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.author-page-main .author-hero .hero-row.intro-row {
  flex-direction: row-reverse;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 768px) {
  .author-page-main .author-hero .hero-row.intro-row {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}
.author-page-main .author-hero .hero-row.details-row {
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .author-page-main .author-hero .hero-row.details-row {
    text-align: center;
    border-bottom: none;
  }
}
.author-page-main .author-hero .hero-row.actions-row .contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 768px) {
  .author-page-main .author-hero .hero-row.actions-row .contact-actions {
    flex-direction: column;
    align-items: center;
  }
}
.author-page-main .author-hero .hero-row.stats-row .author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
}
@media (max-width: 1024px) {
  .author-page-main .author-hero .hero-row.stats-row .author-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.author-page-main .author-hero .author-intro {
  display: flex;
  flex-direction: row-reverse;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
@media (max-width: 768px) {
  .author-page-main .author-hero .author-intro {
    gap: 2rem;
  }
}
.author-page-main .author-hero .author-avatar {
  position: relative;
}
.author-page-main .author-hero .author-avatar .avatar-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.author-page-main .author-hero .author-avatar:hover .avatar-image {
  transform: scale(1.05);
}
.author-page-main .author-hero .author-avatar .availability-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.95);
  color: #48bb78;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}
.author-page-main .author-hero .author-avatar .availability-badge .status-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #48bb78;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.author-page-main .author-hero .author-info {
  flex: 1;
  text-align: right;
}
.author-page-main .author-hero .author-info .author-name {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 0 0;
  line-height: 1.15;
  hyphens: auto;
  word-break: break-word;
}
@media (max-width: 1024px) {
  .author-page-main .author-hero .author-info .author-name {
    font-size: 2.4rem;
  }
}
@media (max-width: 768px) {
  .author-page-main .author-hero .author-info .author-name {
    font-size: 2.1rem;
  }
}
.author-page-main .author-hero .author-info .author-title {
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.25rem 0;
  font-weight: 600;
  text-align: right;
}
.author-page-main .author-hero .author-info .author-location {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}
.author-page-main .author-hero .author-info .author-location svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}
.author-page-main .author-hero .author-info .author-bio {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  hyphens: auto;
  text-align: right;
  max-height: 20em;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.author-page-main .author-hero .author-info .author-bio::-webkit-scrollbar {
  width: 6px;
}
.author-page-main .author-hero .author-info .author-bio::-webkit-scrollbar-track {
  background: transparent;
}
.author-page-main .author-hero .author-info .author-bio::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.author-page-main .author-hero .author-info .author-bio p {
  margin-bottom: 1em;
  margin-top: 0;
}
.author-page-main .author-hero .author-info .author-bio p:last-child {
  margin-bottom: 0;
}
.author-page-main .author-hero .author-info .author-bio strong,
.author-page-main .author-hero .author-info .author-bio b {
  font-weight: 700;
}
.author-page-main .author-hero .author-info .author-bio em,
.author-page-main .author-hero .author-info .author-bio i {
  font-style: italic;
}
.author-page-main .author-hero .author-info .author-bio ul,
.author-page-main .author-hero .author-info .author-bio ol {
  padding-right: 1.5em;
  margin-bottom: 1em;
}
.author-page-main .author-hero .author-info .author-bio li {
  margin-bottom: 0.5em;
}
.author-page-main .author-hero .author-info .author-bio a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.author-page-main .author-hero .author-info .author-bio a:hover {
  color: white;
}
.author-page-main .author-hero .contact-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .author-page-main .author-hero .contact-actions {
    justify-content: center;
  }
}
.author-page-main .author-hero .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.author-page-main .author-hero .contact-btn svg {
  width: 1rem;
  height: 1rem;
}
.author-page-main .author-hero .contact-btn--primary {
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
}
.author-page-main .author-hero .contact-btn--primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.author-page-main .author-hero .contact-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.author-page-main .author-hero .contact-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.author-page-main .author-hero .contact-btn--outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.author-page-main .author-hero .contact-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.author-page-main .author-hero .author-stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  justify-items: center;
}
@media (max-width: 1024px) {
  .author-page-main .author-hero .author-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.author-page-main .author-hero .stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.author-page-main .author-hero .stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .author-page-main .author-hero .stat-card {
    padding: 1.25rem;
  }
}
.author-page-main .author-hero .stat-card .stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.85);
}
.author-page-main .author-hero .stat-card .stat-icon svg {
  width: 100%;
  height: 100%;
}
.author-page-main .author-hero .stat-card .stat-content .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
}
@media (max-width: 768px) {
  .author-page-main .author-hero .stat-card .stat-content .stat-number {
    font-size: 1.75rem;
  }
}
.author-page-main .author-hero .stat-card .stat-content .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.author-page-main .author-portfolio {
  padding: 4rem 0;
}
.author-page-main .author-portfolio .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.author-page-main .author-portfolio .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.author-page-main .author-portfolio .section-header .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}
.author-page-main .author-portfolio .section-header .section-subtitle {
  font-size: 1.1rem;
  color: #4b5563;
}
.author-page-main .author-portfolio .portfolio-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin-bottom: 3rem;
}
.author-page-main .author-portfolio .portfolio-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.author-page-main .author-portfolio .portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.author-page-main .author-portfolio .portfolio-item .portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-header .portfolio-title {
  flex: 1;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-header .portfolio-title a {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-header .portfolio-title a:hover {
  color: #667eea;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-header .portfolio-date {
  font-size: 0.875rem;
  color: #6b7280;
  white-space: nowrap;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-excerpt {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link svg {
  width: 1rem;
  height: 1rem;
}
.author-page-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link:hover {
  color: #5a67d8;
  transform: translateX(-2px);
}
.author-page-main .author-portfolio .view-more {
  text-align: center;
}
.author-page-main .author-portfolio .view-more .view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.author-page-main .author-portfolio .view-more .view-more-btn svg {
  width: 1rem;
  height: 1rem;
}
.author-page-main .author-portfolio .view-more .view-more-btn:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}
.author-page-main .author-portfolio .portfolio-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.author-page-main .author-portfolio .portfolio-empty .empty-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  color: #9ca3af;
}
.author-page-main .author-portfolio .portfolio-empty .empty-icon svg {
  width: 100%;
  height: 100%;
}
.author-page-main .author-portfolio .portfolio-empty h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.author-page-main .author-portfolio .portfolio-empty p {
  color: #4b5563;
  font-size: 1.1rem;
}
.author-page-main .author-social {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 0;
}
.author-page-main .author-social .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.author-page-main .author-social .social-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}
.author-page-main .author-social .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.author-page-main .author-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.author-page-main .author-social .social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}
.author-page-main .author-social .social-link:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@media (max-width: 768px) {
  .author-page-main .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .author-page-main .author-hero .hero-content {
    gap: 2rem;
  }
  .author-page-main .hero-row.intro-row {
    gap: 1.5rem;
  }
  .author-page-main .hero-row.details-row {
    padding-bottom: 1.5rem;
  }
  .author-page-main .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .author-page-main .author-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.home-main {
  background-color: #f9fafb;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.home-main .home-hero {
  position: relative;
  padding-block: 3rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 35%, #3b82f6 70%, #1e40af 100%);
  color: #ffffff;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
  box-shadow: inset 0 0 100px rgba(59, 130, 246, 0.1);
}
.home-main .home-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(0.5rem);
  transform: translateX(-50%);
  animation: float 6s ease-in-out infinite;
  background: radial-gradient(circle, #93c5fd 0%, transparent 70%), radial-gradient(circle, #e9d5ff 0%, transparent 70%);
  background-size: 18rem 18rem, 24rem 24rem;
  background-position: 50% -6rem, 50% calc(100% + 8rem);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.home-main .home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.home-main .home-hero .container {
  position: relative;
  z-index: 1;
}
.home-main .hero__content {
  max-width: 56rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
  animation: fadeInUp 1s ease-out 0.2s both;
}
.home-main .hero__label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.16);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s both;
}
.home-main .hero__label:hover {
  background-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}
.home-main .hero__title {
  font-size: 2.25rem;
  line-height: 1.3;
  margin: 0;
  animation: fadeInUp 1s ease-out 0.6s both;
}
@media (min-width: 768px) {
  .home-main .hero__title {
    font-size: 2.75rem;
  }
}
.home-main .hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.8s both;
}
.home-main .hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: fadeInUp 1s ease-out 1s both;
}
@media (min-width: 640px) {
  .home-main .hero__actions {
    flex-direction: row;
  }
}
.home-main .hero__actions .btn {
  transition: all 0.3s ease;
}
.home-main .hero__actions .btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.home-main .hero__actions .btn.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.home-main .hero__actions .btn.btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.home-main .hero__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  animation: fadeInUp 1s ease-out 1.2s both;
}
.home-main .hero__metrics li {
  background-color: rgba(255, 255, 255, 0.12);
  padding: clamp(0.5rem, 2vw, 1rem);
  border-radius: 0.75rem;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  transition: all 0.3s ease;
  cursor: default;
}
.home-main .hero__metrics li:hover {
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px);
  animation: pulse 2s ease-in-out infinite;
}
.home-main .metric__value {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease;
}
.home-main .metric__label {
  font-size: clamp(0.7rem, 2vw, 0.875rem);
  opacity: 0.85;
}
.home-main .home-section {
  padding-block: 3rem;
  animation: fadeInUp 1s ease-out;
}
.home-main .home-section:nth-child(2) {
  animation-delay: 0.2s;
}
.home-main .home-section:nth-child(3) {
  animation-delay: 0.4s;
}
.home-main .home-section:nth-child(4) {
  animation-delay: 0.6s;
}
.home-main .section-heading {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.home-main .section-heading h2 {
  font-size: 1.875rem;
  margin: 0;
  background: linear-gradient(135deg, #2563eb, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-main .section-heading p {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.home-main .features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .home-main .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-main .feature-card {
  background: #ffffff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}
.home-main .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #bfdbfe;
}
.home-main .feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #ffffff;
  transform: scale(1.1);
}
.home-main .feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .home-main .feature-card__icon {
    margin: 0 auto;
  }
}
.home-main .feature-card__title {
  margin: 0;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}
@media (max-width: 768px) {
  .home-main .feature-card__title {
    text-align: center;
  }
}
.home-main .feature-card__title:hover {
  color: #2563eb;
}
.home-main .feature-card__description {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .home-main .feature-card__description {
    text-align: center;
  }
}
.home-main .creator-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .home-main .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .home-main .creator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-main .content-grid--latest {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 1024px) {
  .home-main .content-grid--latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.home-main .section-empty {
  text-align: center;
  background: #f3f4f6;
  border-radius: 0.5rem;
  padding: 2rem;
  color: #4b5563;
  transition: all 0.3s ease;
}
.home-main .section-empty:hover {
  background: #e5e7eb;
  transform: scale(1.02);
}
.home-main .home-cta {
  padding-block: 3rem;
  background: linear-gradient(135deg, #eff6ff, #ffffff, #faf5ff);
  animation: fadeInUp 1s ease-out;
}
.home-main .home-cta__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.home-main .home-cta h2 {
  margin: 0;
  font-size: 2rem;
  background: linear-gradient(135deg, #2563eb, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-main .home-cta p {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.home-main .home-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .home-main .home-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}
.home-main .home-cta__actions .btn {
  transition: all 0.3s ease;
}
.home-main .home-cta__actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-page {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.08));
  padding-block: 3rem;
  min-height: 100vh;
}
.contact-page__container {
  display: grid;
  gap: 3rem;
}
.contact-page__hero {
  display: grid;
  gap: 0.5rem;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.contact-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 600;
}
.contact-page__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #1e3a8a;
}
.contact-page__subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.contact-page .contact-support__card {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(30, 64, 175, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 45px -25px rgba(30, 64, 175, 0.5);
}
@media (min-width: 768px) {
  .contact-page .contact-support__card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .contact-page .contact-support__card {
    text-align: center;
  }
}
.contact-page .contact-support__icon {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #2563eb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}
@media (max-width: 768px) {
  .contact-page .contact-support__icon {
    margin-inline: auto;
  }
}
.contact-page .contact-support__icon svg {
  width: 2rem;
  height: 2rem;
}
.contact-page .contact-support__content {
  display: grid;
  gap: 0.5rem;
}
.contact-page .contact-support__title {
  margin: 0;
  font-size: 1.75rem;
  color: #1e3a8a;
}
.contact-page .contact-support__description {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.contact-page .contact-support__description span {
  font-weight: 700;
  color: #1d4ed8;
}
.contact-page .contact-support__button {
  justify-self: flex-start;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .contact-page .contact-support__button {
    justify-self: center;
  }
}
.contact-page .contact-form__card {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 0.75rem;
  background: #ffffff;
  box-shadow: 0 25px 50px -25px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.contact-page .contact-form__title {
  margin: 0;
  font-size: 1.75rem;
  color: #1e3a8a;
}
@media (max-width: 768px) {
  .contact-page .contact-form__title {
    text-align: center;
  }
}
.contact-page .contact-form__subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.7;
}
.contact-page .contact-form__notice {
  padding: 0.85rem 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.6;
}
.contact-page .contact-form__notice--success {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.25);
  color: #065f46;
}
.contact-page .contact-form__notice--error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #991b1b;
}
.contact-page .contact-form__notice--error ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.35rem;
}
.contact-page .contact-form__form {
  display: grid;
  gap: 1.5rem;
}
.contact-page .contact-form__field {
  display: grid;
  gap: 0.5rem;
}
.contact-page .contact-form__field--textarea textarea {
  min-height: 9rem;
  resize: vertical;
}
.contact-page .contact-form__label {
  font-weight: 600;
  color: #1f2937;
}
.contact-page .contact-form__input, .contact-page .contact-form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.65);
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}
.contact-page .contact-form__input:focus, .contact-page .contact-form__textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: #ffffff;
}
.contact-page .contact-form__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .contact-page .contact-form__actions {
    flex-direction: row;
    align-items: center;
  }
}
.contact-page .contact-form__privacy {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.about-page {
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.9), #ffffff);
  padding-block: 3rem;
}
.about-page__container {
  display: grid;
  gap: 3rem;
}
.about-page__hero {
  display: grid;
  gap: 0.5rem;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
.about-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  font-weight: 600;
  font-size: 0.875rem;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.about-page__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.2;
  color: #1e3a8a;
}
.about-page__subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.about-page__content {
  display: grid;
  gap: 1.5rem;
  background: #ffffff;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 0.75rem;
  border: 1px solid rgba(203, 213, 225, 0.45);
  box-shadow: 0 30px 60px -40px rgba(30, 64, 175, 0.4);
  text-align: justify;
}
.about-page__content ul {
  padding-inline-start: 1.5rem;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  text-align: right;
}
.about-page__content li {
  color: #374151;
  line-height: 1.8;
}
.about-page__content li strong {
  color: #1d4ed8;
}
.about-page__section-title {
  margin: 0;
  font-size: 1.75rem;
  color: #1e3a8a;
  text-align: center;
}
.about-page__highlights {
  display: grid;
  gap: 2rem;
}
.about-page__highlight-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .about-page__highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.about-page__cta {
  display: grid;
}
.about-page__cta-card {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  align-items: center;
}
@media (min-width: 768px) {
  .about-page__cta-card {
    grid-template-columns: 1fr auto;
  }
}
.about-page__cta-content {
  display: grid;
  gap: 0.5rem;
}
.about-page__cta-text {
  margin: 0;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.about-page__cta-button {
  justify-self: flex-start;
}
@media (max-width: 768px) {
  .about-page__cta-button {
    justify-self: center;
  }
}
.about-page .about-highlight-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(203, 213, 225, 0.4);
  box-shadow: 0 20px 45px -35px rgba(15, 23, 42, 0.35);
  display: grid;
  gap: 0.5rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-page .about-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -40px rgba(59, 130, 246, 0.45);
}
.about-page .about-highlight-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.about-page .about-highlight-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}
.about-page .about-highlight-card__title {
  margin: 0;
  font-size: 1.25rem;
  color: #1e3a8a;
}
.about-page .about-highlight-card__description {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
}

/* General page styles for index, page, single */
.site-main {
  min-height: 100vh;
  background-color: #f9fafb;
}

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

.content-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post-card {
  transition: box-shadow 0.15s ease;
}

.post-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.post-title {
  margin-bottom: 1rem;
}

.post-title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.15s ease;
}

.post-title a:hover {
  color: var(--primary-color);
}

.post-excerpt {
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.875rem;
  color: #6b7280;
}

.content-area {
  max-width: none;
}

.blog-index {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(248, 250, 252, 0.5) 60%, transparent 100%);
}

.blog-hero {
  background: radial-gradient(circle at 5% 10%, rgba(120, 84, 247, 0.18), transparent 55%), rgba(255, 255, 255, 0.95);
  border-bottom-left-radius: clamp(3rem, 8vw, 6rem);
  border-bottom-right-radius: clamp(3rem, 8vw, 6rem);
  padding-block: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  inset-block-start: -120px;
  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  filter: blur(0px);
  z-index: 0;
}
.blog-hero .container {
  position: relative;
  z-index: 1;
}
.blog-hero__layout {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
}
@media (min-width: 1024px) {
  .blog-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }
}
.blog-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
.blog-hero__badge {
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  box-shadow: 0 20px 35px -25px rgba(59, 130, 246, 0.7);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.blog-hero__title {
  color: #111827;
  font-size: 2rem;
  line-height: 1.3;
  margin: 0;
}
.blog-hero__subtitle {
  color: #4b5563;
  font-size: clamp(1.05rem, 0.8vw + 1rem, 1.25rem);
  line-height: 1.9;
  margin: 0;
  max-width: 40ch;
}
.blog-hero__search {
  margin-top: 1rem;
  max-width: 480px;
}
.blog-hero__search-form {
  position: relative;
}
.blog-hero__search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 4px 20px -8px rgba(37, 99, 235, 0.15);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}
.blog-hero__search-wrapper:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 8px 32px -12px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}
.blog-hero__search-icon {
  position: absolute;
  inset-inline-start: clamp(1rem, 2vw, 1.25rem);
  width: 20px;
  height: 20px;
  color: #9ca3af;
  flex-shrink: 0;
  z-index: 1;
  pointer-events: none;
}
.blog-hero__search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  padding: clamp(0.85rem, 1.5vw, 1rem) clamp(2.5rem, 4vw, 3rem) clamp(0.85rem, 1.5vw, 1rem) clamp(2.75rem, 4vw, 3.25rem);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: #374151;
  outline: none;
  min-width: 0;
}
.blog-hero__search-input::-moz-placeholder {
  color: #9ca3af;
  font-style: italic;
}
.blog-hero__search-input::placeholder {
  color: #9ca3af;
  font-style: italic;
}
.blog-hero__search-input:focus {
  color: #111827;
}
.blog-hero__search-submit {
  position: absolute;
  inset-inline-end: 4px;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  border: none;
  border-radius: 50%;
  width: clamp(2.75rem, 4vw, 3.25rem);
  height: clamp(2.75rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}
.blog-hero__search-submit:hover, .blog-hero__search-submit:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.5);
}
.blog-hero__search-submit:active {
  transform: scale(0.98);
}
.blog-hero__search-submit svg {
  width: 16px;
  height: 16px;
}
.blog-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.65rem, 1vw, 0.85rem);
}
.blog-hero__topic {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.45rem 1rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  color: #4b5563;
}
.blog-hero__topic:hover, .blog-hero__topic:focus-visible {
  border-color: #3b82f6;
  color: #2563eb;
  box-shadow: 0 12px 20px -18px rgba(37, 99, 235, 0.6);
}
.blog-hero__topic-name {
  font-weight: 600;
  color: #374151;
}
.blog-hero__topic-count {
  background: #f3f4f6;
  border-radius: 999px;
  color: #6b7280;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
}
.blog-hero__featured {
  position: relative;
}
.blog-hero__featured .blog-card {
  border-radius: clamp(1.5rem, 3vw, 2.2rem);
}

.blog-section--latest {
  background: transparent;
  margin-top: clamp(3rem, 5vw, 5rem);
}
.blog-section--latest .section-heading {
  max-width: 560px;
}

.blog-insights__layout {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.05));
  border-radius: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(2rem, 3vw, 3.25rem);
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
@media (min-width: 1024px) {
  .blog-insights__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.blog-insights__badge {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.blog-insights__header h2 {
  color: #111827;
  font-size: clamp(1.5rem, 1vw + 1.4rem, 2rem);
  margin-bottom: 0.5rem;
}

.blog-insights__header p {
  color: #6b7280;
  line-height: 1.8;
  margin: 0;
}

.blog-insights__list {
  display: grid;
  gap: 1.5rem;
}

.blog-hero__topic:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 4px;
}

.reading-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  z-index: 1000;
}
.reading-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.single-article {
  background: #f9fafb;
}
.single-article__hero {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(248, 250, 252, 0.6) 100%);
  padding-block: clamp(1rem, 2vw, 2rem);
}
.single-article__hero .container {
  max-width: 1024px;
}
.single-article__category {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  text-decoration: none;
  box-shadow: 0 15px 30px -25px rgba(67, 56, 202, 0.6);
}
.single-article__category:hover, .single-article__category:focus-visible {
  box-shadow: 0 20px 40px -30px rgba(67, 56, 202, 0.7);
}
.single-article__title {
  color: #111827;
  font-size: clamp(2.1rem, 2vw + 1.6rem, 3rem);
  line-height: 1.3;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}
.single-article__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: #6b7280;
}
.single-article__author {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}
.single-article__author img {
  border-radius: 50%;
  box-shadow: 0 15px 30px -28px rgba(15, 23, 42, 0.8);
  height: 56px;
  width: 56px;
}
.single-article__author a {
  color: #1f2937;
  font-weight: 600;
  text-decoration: none;
}
.single-article__author a:hover, .single-article__author a:focus-visible {
  color: #2563eb;
}
.single-article__author-meta {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.single-article__share {
  position: relative;
}
.single-article__share-trigger {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  color: #4b5563;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
}
.single-article__share-trigger svg {
  height: 20px;
  width: 20px;
}
.single-article__share-trigger:hover, .single-article__share-trigger:focus-visible, .single-article__share-trigger[aria-expanded=true] {
  border-color: #3b82f6;
  color: #2563eb;
  box-shadow: 0 12px 30px -20px rgba(59, 130, 246, 0.45);
}
.single-article__share-menu {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.35);
  display: grid;
  gap: 0.25rem;
  min-width: 210px;
  padding: 0.5rem;
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 0.75rem);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
}
.single-article__share-menu::before {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  inset-block-start: -8px;
  border: 8px solid transparent;
  border-bottom-color: #ffffff;
}
.single-article__share-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.single-article__share-menu a,
.single-article__share-menu button {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #4b5563;
  display: flex;
  font-size: 0.875rem;
  gap: 0.25rem;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.single-article__share-menu a:hover, .single-article__share-menu a:focus-visible,
.single-article__share-menu button:hover,
.single-article__share-menu button:focus-visible {
  background: #f3f4f6;
  color: #2563eb;
}
.single-article__share-menu a svg,
.single-article__share-menu button svg {
  width: 20px;
  flex-shrink: 0;
}
.single-article__media {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  box-shadow: 0 30px 60px -45px rgba(15, 23, 42, 0.4);
  max-height: 80vh;
}
.single-article__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  -o-object-fit: cover;
     object-fit: cover;
}
.single-article__media figcaption {
  background: rgba(17, 24, 39, 0.6);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.6rem 1rem;
}
.single-article__body {
  padding-block: clamp(2rem, 2vw, 1.5rem);
}
.single-article__body .container {
  max-width: 920px;
}
.single-article__toc {
  background: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 0;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px -15px rgba(15, 23, 42, 0.2);
}
.single-article__toc-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.single-article__toc-toggle:hover, .single-article__toc-toggle:focus-visible {
  color: #2563eb;
}
.single-article__toc-toggle h3 {
  color: #111827;
  font-size: 1.125rem;
  margin: 0;
  font-weight: 600;
}
.single-article__toc-toggle[aria-expanded=true] .single-article__toc-icon {
  transform: rotate(180deg);
}
.single-article__toc-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.single-article__toc-content {
  padding: 1rem;
  padding-top: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.single-article__toc-content[hidden] {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}
.single-article__toc-content:not([hidden]) {
  max-height: 1000px;
  opacity: 1;
}
.single-article__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
}
.single-article__toc-item a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.6;
  transition: all 0.2s ease-in-out;
  display: block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.125rem;
}
.single-article__toc-item a:hover, .single-article__toc-item a:focus-visible {
  color: #2563eb;
  background: #eff6ff;
}
.single-article__toc-item--level-2 {
  padding-inline-start: 1rem;
}
.single-article__toc-item--level-2 a {
  font-size: 1.125rem;
  font-weight: 600;
}
.single-article__toc-item--level-3 {
  padding-inline-start: 2rem;
}
.single-article__toc-item--level-3 a {
  font-size: 0.875rem;
  font-weight: 500;
}
.single-article__toc-item--level-4 {
  padding-inline-start: 3rem;
}
.single-article__toc-item--level-4 a {
  font-size: 0.875rem;
}
.single-article__toc-item--level-5, .single-article__toc-item--level-6 {
  padding-inline-start: 3rem;
}
.single-article__content {
  background: #ffffff;
  border-radius: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 30px 70px -55px rgba(15, 23, 42, 0.35);
  padding: 2rem;
}
.single-article__content .prose {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #374151;
}
.single-article__content .prose h2,
.single-article__content .prose h3,
.single-article__content .prose h4,
.single-article__content .prose h5,
.single-article__content .prose h6 {
  position: relative;
  scroll-margin-top: 2rem;
}
.single-article__content .prose h2 .heading-anchor,
.single-article__content .prose h3 .heading-anchor,
.single-article__content .prose h4 .heading-anchor,
.single-article__content .prose h5 .heading-anchor,
.single-article__content .prose h6 .heading-anchor {
  position: absolute;
  inset-inline-start: -1.5rem;
  inset-block-start: 0.1em;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.single-article__content .prose h2 .heading-anchor::before,
.single-article__content .prose h3 .heading-anchor::before,
.single-article__content .prose h4 .heading-anchor::before,
.single-article__content .prose h5 .heading-anchor::before,
.single-article__content .prose h6 .heading-anchor::before {
  content: "#";
  font-size: 0.8em;
  color: #9ca3af;
}
.single-article__content .prose h2:hover .heading-anchor,
.single-article__content .prose h3:hover .heading-anchor,
.single-article__content .prose h4:hover .heading-anchor,
.single-article__content .prose h5:hover .heading-anchor,
.single-article__content .prose h6:hover .heading-anchor {
  opacity: 1;
}
.single-article__content .prose pre,
.single-article__content .prose code {
  background: #f3f4f6;
  border-radius: 0.375rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.9em;
}
.single-article__content .prose blockquote {
  border-inline-start: 4px solid #3b82f6;
  padding: 1rem;
  margin: 1.5rem 0;
  background: #eff6ff;
  border-radius: 0 0.375rem 0.375rem 0;
  font-style: italic;
}
.single-article__content .prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -15px rgba(15, 23, 42, 0.3);
}
.single-article__pagination {
  margin-top: clamp(2.5rem, 4vw, 3rem);
  text-align: center;
}
.single-article__pagination a {
  color: #2563eb;
  text-decoration: none;
}
.single-article__pagination a:hover, .single-article__pagination a:focus-visible {
  color: #1e40af;
}
.single-article__tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 3vw, 2.5rem);
}
.single-article__tags a {
  background: #f3f4f6;
  border-radius: 999px;
  color: #4b5563;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.single-article__tags a:hover, .single-article__tags a:focus-visible {
  background: #dbeafe;
  color: #1d4ed8;
}
.single-article__footer {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding-block: 3rem;
}
.single-article__footer .container {
  max-width: 920px;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
.single-article__author-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(124, 58, 237, 0.05));
  border-radius: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.single-article__author-card:hover {
  box-shadow: 0 25px 60px -50px rgba(59, 130, 246, 0.6);
}
.single-article__author-card h2 {
  margin: 0 0 0.25rem;
}
.single-article__author-card p {
  color: #4b5563;
  margin: 0;
}
.single-article__author-card .single-article__author-avatar img {
  border-radius: 50%;
  height: 80px;
  width: 80px;
  box-shadow: 0 12px 32px -24px rgba(15, 23, 42, 0.6);
}
.single-article__author-link {
  color: #2563eb;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  text-decoration: none;
}
.single-article__author-link:hover, .single-article__author-link:focus-visible {
  color: #1e40af;
}
.single-article__nav {
  align-items: stretch;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .single-article__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.single-article__nav a {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: clamp(1.1rem, 2vw, 1.5rem);
  display: block;
  padding: 1rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.single-article__nav a:hover, .single-article__nav a:focus-visible {
  border-color: #60a5fa;
  box-shadow: 0 20px 40px -40px rgba(37, 99, 235, 0.6);
}
.single-article__nav-label {
  color: #6b7280;
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}
.single-article__nav-title {
  color: #1f2937;
  font-weight: 600;
  line-height: 1.5;
}
.single-article__comments {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding-block: 3rem;
}
.single-article__comments .container {
  max-width: 820px;
}
.single-article__comments h2 {
  color: #111827;
  font-size: clamp(1.4rem, 1vw + 1.2rem, 1.9rem);
  margin-bottom: 1rem;
}
.single-article__comments-disabled {
  background: #f3f4f6;
  border-radius: 0.5rem;
  padding: 1rem;
  color: #6b7280;
}

.single-article__share-trigger:focus-visible,
.single-article__share-menu a:focus-visible,
.single-article__share-menu button:focus-visible,
.single-article__tags a:focus-visible,
.single-article__author-link:focus-visible,
.single-article__nav a:focus-visible,
.single-article__toc-toggle:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 4px;
}

.category-archive {
  background: #f9fafb;
}
.category-archive__error {
  margin: clamp(4rem, 8vw, 6rem) auto;
  max-width: 640px;
  text-align: center;
  background: #ffffff;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 0.75rem;
  box-shadow: 0 30px 60px -55px rgba(15, 23, 42, 0.35);
  color: #4b5563;
}

.category-hero {
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.08) 0%, rgba(79, 70, 229, 0.04) 48%, rgba(255, 255, 255, 0.9) 100%);
  padding-block: 3rem;
  position: relative;
  overflow: hidden;
}
.category-hero::after {
  content: "";
  position: absolute;
  inset-inline-start: -120px;
  inset-block-end: -120px;
  width: clamp(240px, 32vw, 420px);
  height: clamp(240px, 32vw, 420px);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  z-index: 0;
}
.category-hero .container {
  position: relative;
  z-index: 1;
}
.category-hero__layout {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 1024px) {
  .category-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}
.category-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
.category-hero__badge {
  align-items: center;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.category-hero__title {
  color: #111827;
  font-size: clamp(2rem, 1.6vw + 1.8rem, 2.75rem);
  line-height: 1.25;
  margin: 0;
}
.category-hero__description {
  color: #4b5563;
  font-size: clamp(1.05rem, 0.8vw + 1rem, 1.25rem);
  line-height: 1.9;
}
.category-hero__description p {
  margin: 0 0 0.5rem;
}
.category-hero__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.category-hero__meta-item {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.75rem;
  color: #4b5563;
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  box-shadow: 0 16px 32px -28px rgba(15, 23, 42, 0.35);
}
.category-hero__meta-item svg {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}
.category-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.category-hero__chip {
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  color: #4b5563;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.45rem 1rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.category-hero__chip:hover, .category-hero__chip:focus-visible {
  border-color: #3b82f6;
  color: #2563eb;
  box-shadow: 0 14px 24px -22px rgba(59, 130, 246, 0.6);
}
.category-hero__chip-count {
  background: #f3f4f6;
  border-radius: 999px;
  color: #6b7280;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
}
.category-hero__featured .blog-card {
  border-radius: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 28px 60px -48px rgba(15, 23, 42, 0.4);
}

.category-feed {
  padding-block: 3rem;
}
.category-feed__main {
  display: flex;
  flex-direction: column;
}
.category-feed__header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.category-feed__header h2 {
  color: #111827;
  font-size: clamp(1.6rem, 1vw + 1.3rem, 2.1rem);
  margin: 0 0 0.25rem;
}
.category-feed__header p {
  color: #6b7280;
  margin: 0;
  max-width: 46ch;
}
.category-feed__result-count {
  align-items: center;
  background: #f3f4f6;
  border-radius: 999px;
  color: #4b5563;
  display: inline-flex;
  font-size: 0.75rem;
  gap: 0.25rem;
  padding: 0.35rem 0.85rem;
  white-space: nowrap;
}

.category-feed__sidebar-card .blog-card__media {
  aspect-ratio: 4/3;
}

.category-hero__chip:focus-visible,
.category-feed__result-count:focus-visible,
.category-feed__sidebar-card a:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
  outline-offset: 4px;
}

/* Single post styles (replacing utilities, RTL-aware) */
.page-single-post-order-content-main .page-container {
  padding-block: 2rem;
}
.page-single-post-order-content-main .access-restricted-header {
  text-align: center;
  padding-block: 3rem;
}
.page-single-post-order-content-main .access-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.page-single-post-order-content-main .access-message {
  color: #6b7280;
  margin-bottom: 1.5rem;
}
.page-single-post-order-content-main .access-form {
  max-width: 28rem;
  margin-inline: auto;
}
.page-single-post-order-content-main .access-input {
  text-align: center;
}
.page-single-post-order-content-main .post-article {
  padding-block: 2rem;
}
.page-single-post-order-content-main .post-header {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.page-single-post-order-content-main .post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.page-single-post-order-content-main .author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  direction: ltr;
}
.page-single-post-order-content-main .author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}
.page-single-post-order-content-main .author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin: 0;
}
.page-single-post-order-content-main .author-name a {
  color: inherit;
  text-decoration: none;
}
.page-single-post-order-content-main .author-name a:hover {
  color: var(--primary-color);
  transition: color 0.15s ease;
}
.page-single-post-order-content-main .post-date {
  font-size: 0.75rem;
  color: #6b7280;
}
.page-single-post-order-content-main .access-confirmed {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--green-600);
  background-color: var(--green-50);
  padding-inline: 0.75rem;
  padding-block: 0.25rem;
  border-radius: 9999px;
  gap: 0.25rem;
}
.page-single-post-order-content-main .access-icon {
  width: 1rem;
  height: 1rem;
  margin-inline-start: 0.25rem;
}
.page-single-post-order-content-main .post-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}
.page-single-post-order-content-main .client-info {
  background-color: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 0.375rem;
  padding: 1rem;
}
.page-single-post-order-content-main .client-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}
.page-single-post-order-content-main .client-details {
  font-size: 0.875rem;
  color: var(--blue-700);
}
.page-single-post-order-content-main .post-content {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  padding: 2rem;
}
.page-single-post-order-content-main .post-body {
  max-width: none;
}
.page-single-post-order-content-main .page-links {
  margin-top: 2rem;
}
.page-single-post-order-content-main .post-footer {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  padding: 1.5rem;
  margin-top: 2rem;
}
.page-single-post-order-content-main .post-meta-info {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .page-single-post-order-content-main .post-meta-info {
    flex-direction: row;
  }
}
.page-single-post-order-content-main .meta-dates {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  direction: ltr;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .page-single-post-order-content-main .meta-dates {
    margin-bottom: 0;
  }
}
.page-single-post-order-content-main .publish-date,
.page-single-post-order-content-main .modified-date {
  font-size: 0.875rem;
  color: #6b7280;
}
.page-single-post-order-content-main .post-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  direction: ltr;
}
.page-single-post-order-content-main .share-button,
.page-single-post-order-content-main .edit-button {
  color: #6b7280;
  transition: color 0.15s ease;
}
.page-single-post-order-content-main .share-button:hover,
.page-single-post-order-content-main .edit-button:hover {
  color: var(--primary-color);
}
.page-single-post-order-content-main .share-icon,
.page-single-post-order-content-main .edit-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.page-single-post-order-content-main .profile-link {
  border: 1px solid currentColor;
  color: currentColor;
  font-size: 0.875rem;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  text-decoration: none;
  border-radius: 0.375rem;
}
.page-single-post-order-content-main .profile-link:hover {
  color: var(--primary-color);
}
.page-single-post-order-content-main .post-navigation {
  margin-top: 2rem;
}
.page-single-post-order-content-main .nav-links {
  display: flex;
  justify-content: space-between;
}
.page-single-post-order-content-main .prev-post,
.page-single-post-order-content-main .next-post {
  width: 50%;
  padding-inline-start: 1rem;
}
.page-single-post-order-content-main .next-post {
  text-align: left;
  padding-inline-end: 1rem;
  padding-inline-start: 0;
}
.page-single-post-order-content-main .prev-link,
.page-single-post-order-content-main .next-link {
  display: block;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
  padding: 1rem;
  transition: background-color 0.15s ease;
  text-decoration: none;
}
.page-single-post-order-content-main .prev-link:hover,
.page-single-post-order-content-main .next-link:hover {
  background-color: #f9fafb;
}
.page-single-post-order-content-main .nav-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.page-single-post-order-content-main .nav-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}
.page-single-post-order-content-main .nav-title:hover {
  color: var(--primary-color);
}
.page-single-post-order-content-main .alert--error {
  background-color: #fee2e2;
  color: #dc2626;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #fecaca;
}
.page-single-post-order-content-main .form-group {
  margin-bottom: 1rem;
}

/* Public post order delivery page styles */
.post-order-output {
  min-height: 100vh;
  background-color: #f9fafb;
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .post-order-output {
    padding-block: 3rem;
  }
}
.post-order-output__container {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.post-order-output.po-guard {
  min-height: 100vh;
  padding: 3rem 1rem;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, #eff6ff, #f9fafb);
}
.post-order-output.po-guard .po-guard__card {
  max-width: 28rem;
  width: 100%;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: grid;
  gap: 1rem;
}
.post-order-output.po-guard .po-guard__icon {
  width: 4rem;
  height: 4rem;
  color: #3b82f6;
  margin: 0 auto;
}
.post-order-output.po-guard .po-guard__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.post-order-output.po-guard .po-guard__message {
  color: #4b5563;
  font-size: 1.125rem;
}
.post-order-output.po-guard .po-guard__alert {
  background-color: #fef2f2;
  color: #dc2626;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}
.post-order-output.po-guard .po-guard__form {
  display: grid;
  gap: 0.5rem;
}
.post-order-output.po-guard .po-guard__field {
  display: block;
}
.post-order-output.po-guard .po-guard__field input {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  font-size: 1.125rem;
}
.post-order-output.po-guard .po-guard__submit {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.post-order-output.po-guard .po-guard__submit:hover, .post-order-output.po-guard .po-guard__submit:focus {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.post-order-output .po-hero {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.08));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}
@media (max-width: 768px) {
  .post-order-output .po-hero {
    padding: 1.5rem;
    gap: 0.5rem;
  }
}
.post-order-output .po-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -8rem;
  top: -6rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.post-order-output .po-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: -6rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.15), transparent 70%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}
.post-order-output .po-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 0.875rem;
  width: -moz-fit-content;
  width: fit-content;
}
.post-order-output .po-hero__badge-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.post-order-output .po-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .post-order-output .po-hero__title {
    font-size: 1.875rem;
  }
}
.post-order-output .po-hero__subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.5;
}
.post-order-output .po-hero__divider {
  color: rgba(37, 99, 235, 0.35);
}
.post-order-output .po-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.4;
}
.post-order-output .po-hero__privacy {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}
.post-order-output .po-hero__privacy.is-private {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}
.post-order-output .po-hero__privacy.is-public {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}
.post-order-output .po-hero__token {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
  font-weight: 600;
}
.post-order-output .po-hero__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1rem;
  width: -moz-fit-content;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.15);
}
@media (max-width: 768px) {
  .post-order-output .po-hero__author {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
}
.post-order-output .po-hero__author:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.post-order-output .po-hero__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .post-order-output .po-hero__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-width: 2px;
  }
}
.post-order-output .po-hero__author-details {
  display: flex;
  flex-direction: column;
}
.post-order-output .po-hero__author-label {
  font-size: 0.875rem;
  color: #6b7280;
}
.post-order-output .po-hero__author-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  line-height: 1.3;
}
.post-order-output .po-hero__author-name:hover {
  color: #2563eb;
}
.post-order-output .po-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.12);
}
@media (max-width: 768px) {
  .post-order-output .po-nav {
    position: static;
    padding: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.post-order-output .po-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 768px) {
  .post-order-output .po-nav__list {
    flex-wrap: nowrap;
    gap: 0.25rem;
  }
}
.post-order-output .po-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(102, 126, 234, 0.15);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .post-order-output .po-nav__link {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}
.post-order-output .po-nav__link:hover, .post-order-output .po-nav__link:focus {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}
.post-order-output .po-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.post-order-output .po-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.post-order-output .po-section__title {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1.5rem;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}
.post-order-output .po-section__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #3b82f6;
}
.post-order-output .po-section__subtitle {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5;
}
.post-order-output .po-section#media {
  display: none !important;
}
.post-order-output .po-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .post-order-output .po-grid--summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .post-order-output .po-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.post-order-output .po-grid--fields {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .post-order-output .po-grid--columns {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}
.post-order-output .po-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: slideIn 0.6s ease-out;
}
.post-order-output .po-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.post-order-output .po-card > p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .post-order-output .po-card {
    grid-column: span 2;
  }
  .post-order-output .po-card:hover {
    transform: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }
}
.post-order-output .po-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(37, 99, 235, 0.01));
}
.post-order-output .po-card:hover::before {
  opacity: 1;
}
.post-order-output .po-card--span {
  grid-column: span 2;
}
.post-order-output .po-card--field textarea, .post-order-output .po-card--field input {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #1f2937;
  transition: all 0.2s ease-in-out;
  resize: vertical;
}
.post-order-output .po-card--field textarea:focus, .post-order-output .po-card--field input:focus {
  outline: none;
  border-color: #60a5fa;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.post-order-output .po-card--preview {
  background: linear-gradient(145deg, #f9fafb, #ffffff);
  grid-column: 1/-1;
}
.post-order-output .po-card--content-html {
  background: linear-gradient(145deg, #f9fafb, #ffffff);
  grid-column: 1/-1;
}
.post-order-output .po-card__header, .post-order-output .po-card__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-order-output .po-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.post-order-output .po-card__label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
}
.post-order-output .po-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.post-order-output .po-card__unit {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}
.post-order-output .po-card__badge {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.post-order-output .po-card__description, .post-order-output .po-card__hint {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}
.post-order-output .po-card__hint.is-warning {
  color: #dc2626;
}
.post-order-output .po-card__hint.is-success {
  color: #16a34a;
}
.post-order-output .po-card__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.5rem;
}
.post-order-output .po-card__field textarea, .post-order-output .po-card__field input {
  width: 100%;
}
.post-order-output .po-card__field .po-copy {
  align-self: stretch;
  padding-inline: 0.5rem;
}
.post-order-output .po-card__preview {
  max-height: 32rem;
  overflow: auto;
  border-radius: 0.375rem;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
}
.post-order-output .po-card__media {
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.post-order-output .po-card__metrics {
  display: grid;
  gap: 0.5rem;
}
.post-order-output .po-card__value-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.post-order-output .po-card__stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-order-output .po-copy {
  align-self: flex-start;
  padding: 0.25rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background-color: #ffffff;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.post-order-output .po-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.post-order-output .po-copy svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s ease;
}
.post-order-output .po-copy:hover, .post-order-output .po-copy:focus {
  background-color: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}
.post-order-output .po-copy:hover::before, .post-order-output .po-copy:focus::before {
  opacity: 1;
}
.post-order-output .po-copy:hover svg, .post-order-output .po-copy:focus svg {
  transform: scale(1.1);
}
.post-order-output .po-copy:active {
  transform: scale(0.95);
}
.post-order-output .po-copy--ghost {
  align-self: center;
  padding: 0.25rem;
  border-color: transparent;
  background-color: transparent;
  color: #9ca3af;
  transition: all 0.2s ease;
}
.post-order-output .po-copy--ghost svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}
.post-order-output .po-copy--ghost:hover, .post-order-output .po-copy--ghost:focus {
  background-color: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  color: #2563eb;
  transform: scale(1.1);
}
.post-order-output .po-copy--ghost:hover svg, .post-order-output .po-copy--ghost:focus svg {
  transform: scale(1.1);
}
.post-order-output .po-progress {
  width: 100%;
  height: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.post-order-output .po-progress__bar {
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  width: var(--po-progress, 0%);
  transition: width 0.4s ease;
  border-radius: inherit;
}
.post-order-output .po-progress__label {
  font-size: 0.875rem;
  color: #4b5563;
}
.post-order-output .po-progress--completed .post-order-output .po-progress__bar {
  background: linear-gradient(135deg, , #16a34a);
}
.post-order-output .po-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.post-order-output .po-chip {
  padding: 0.25rem 0.5rem;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 9999px;
  color: #1d4ed8;
  font-size: 0.875rem;
}
.post-order-output .po-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.post-order-output .po-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
}
.post-order-output .po-feature-tag.is-active {
  border-color: rgba(59, 130, 246, 0.4);
  color: #2563eb;
  background: rgba(59, 130, 246, 0.12);
}
.post-order-output .po-feature-tag__icon {
  width: 1rem;
  height: 1rem;
}
.post-order-output .po-preview prose {
  max-width: none;
}
.post-order-output .po-preview > * {
  margin-inline-start: 0;
}
.post-order-output .po-preview h1,
.post-order-output .po-preview h2,
.post-order-output .po-preview h3,
.post-order-output .po-preview h4,
.post-order-output .po-preview h5,
.post-order-output .po-preview h6 {
  color: #111827;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  line-height: 1.5;
}
.post-order-output .po-preview p {
  margin-block: 0.5rem;
  color: #374151;
  line-height: 1.9;
}
.post-order-output .po-preview ul,
.post-order-output .po-preview ol {
  margin: 0.5rem 0 0.5rem 1.5rem;
  padding: 0;
  color: #374151;
  line-height: 1.8;
}
.post-order-output .po-preview ul {
  list-style: disc;
}
.post-order-output .po-preview ol {
  list-style: decimal;
}
.post-order-output .po-preview li {
  margin-block: 0.25rem;
  padding-inline-start: 0.25rem;
}
.post-order-output .po-preview blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-inline-start: 4px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
  border-radius: 0.5rem;
  color: #1d4ed8;
  font-style: italic;
}
.post-order-output .po-preview code {
  font-family: "Fira Code", "Courier New", Courier, monospace;
  background: rgba(15, 23, 42, 0.06);
  padding: 0 0.25rem;
  border-radius: 0.125rem;
  font-size: 0.95em;
}
.post-order-output .po-preview pre {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 0.5rem;
  overflow-x: auto;
  line-height: 1.8;
  font-family: "Fira Code", "Courier New", Courier, monospace;
}
.post-order-output .po-preview table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.2);
}
.post-order-output .po-preview thead {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
  text-align: inherit;
}
.post-order-output .po-preview td,
.post-order-output .po-preview th {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  vertical-align: top;
  line-height: 1.7;
  color: #374151;
}
.post-order-output .po-preview tr:nth-child(even) {
  background: rgba(226, 232, 240, 0.35);
}
.post-order-output .po-preview caption {
  caption-side: bottom;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.post-order-output .po-preview img,
.post-order-output .po-preview figure {
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 14px 30px -16px rgba(15, 23, 42, 0.25);
}
.post-order-output .po-preview hr {
  margin: 2rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0));
}
.post-order-output .po-list {
  margin: 0;
  padding-inline-start: 1rem;
  display: grid;
  gap: 0.25rem;
}
.post-order-output .po-list__item {
  position: relative;
  color: #374151;
  font-size: 0.875rem;
}
.post-order-output .po-list__item::marker {
  color: #3b82f6;
}
.post-order-output .po-accordion {
  display: grid;
  gap: 0.5rem;
}
.post-order-output #faq .po-section__header .po-faq__words {
  margin-right: 8px;
}
.post-order-output .po-faq {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  border-left: 4px solid transparent;
}
.post-order-output .po-faq[open] {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 24px -16px rgba(37, 99, 235, 0.4);
  border-left-color: #3b82f6;
}
.post-order-output .po-faq[open] .po-faq__summary {
  background: rgba(59, 130, 246, 0.05);
}
.post-order-output .po-faq__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
}
.post-order-output .po-faq__number {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 9999px;
  color: #2563eb;
}
.post-order-output .po-faq__words {
  font-size: 0.875rem;
  color: #6b7280;
}
.post-order-output .po-faq__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  justify-self: end;
}
.post-order-output .po-faq__content {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  font-size: 0.875rem;
}
.post-order-output .po-faq__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.post-order-output .po-faq__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.75rem;
}
.post-order-output .po-faq__answer {
  line-height: 1.8;
  color: #374151;
  position: relative;
  padding-left: 2rem;
}
.post-order-output .po-faq__answer > p:last-child {
  margin-bottom: 0;
}
.post-order-output .po-faq__answer .po-copy {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.post-order-output .po-toast {
  position: fixed;
  bottom: 1rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: rgba(37, 99, 235, 0.95);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.post-order-output .po-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -0.5rem);
}
.post-order-output .po-toast[data-state=error] {
  background: rgba(220, 38, 38, 0.95);
}
.post-order-output .po-toast[data-state=warning] {
  background: rgba(234, 179, 8, 0.95);
}
.post-order-output .po-card__empty {
  color: #6b7280;
  font-size: 0.875rem;
}
.post-order-output .po-card__media .po-media__image {
  width: 100%;
  display: block;
}
.post-order-output .po-card__value-group,
.post-order-output .po-card__stats {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.post-order-output .po-card--code {
  gap: 1rem;
}
.post-order-output .po-card--code .po-card__field {
  grid-template-columns: minmax(0, 1fr);
}
.post-order-output .po-card--code textarea {
  font-family: "Vazirmatn", "IRANSans", "Shabnam", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.825rem;
  direction: ltr;
  line-height: 1.6;
  background-color: #f9fafb;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  padding: 0.5rem;
  height: 100%;
}
.post-order-output .po-card__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.15), rgba(59, 130, 246, 0.12));
  border-radius: 0.375rem;
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.post-order-output .po-card__toolbar-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.post-order-output .po-card__toolbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}
.post-order-output .po-card__toolbar-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.post-order-output .po-card__toolbar-meta {
  display: grid;
  gap: 0.25rem;
}
.post-order-output .po-card__toolbar-title {
  font-weight: 600;
  color: #1f2937;
}
.post-order-output .po-card__badge--status {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border-radius: 9999px;
  font-size: 0.75rem;
  padding: 0.5rem 0.25rem;
}
.post-order-output .po-card__toolbar .po-copy {
  padding-inline: 0.5rem;
}
.post-order-output .po-card__note {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.6;
}
.post-order-output {
  /* Overview Stats */
}
.post-order-output .po-card--overview-summary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.post-order-output .po-card--overview-summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}
.post-order-output .po-overview-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
@media (max-width: 768px) {
  .post-order-output .po-overview-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}
@media (max-width: 640px) {
  .post-order-output .po-overview-stats {
    grid-template-columns: 1fr;
  }
}
.post-order-output .po-overview-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .post-order-output .po-overview-stat {
    padding: 0.25rem 0.5rem;
  }
}
.post-order-output .po-overview-stat:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-2px);
}
.post-order-output .po-overview-stat__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 197, 253, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .post-order-output .po-overview-stat__icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}
.post-order-output .po-overview-stat__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
@media (max-width: 768px) {
  .post-order-output .po-overview-stat__icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}
.post-order-output .po-overview-stat__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.post-order-output .po-overview-stat__label {
  font-size: 0.75rem;
  color: #4b5563;
  font-weight: 500;
}
@media (max-width: 768px) {
  .post-order-output .po-overview-stat__label {
    font-size: 0.7rem;
  }
}
.post-order-output .po-overview-stat__value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  word-break: break-word;
}
@media (max-width: 768px) {
  .post-order-output .po-overview-stat__value {
    font-size: 1rem;
  }
}
.post-order-output {
  /* Animations */
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Author Profile & Authors List Styles */
.creator-profile-main {
  min-height: 100vh;
  background: linear-gradient(135deg, #f2f4fd 0%, #e8f2ff 100%);
  animation: fadeIn 0.8s ease-out;
}
.creator-profile-main .author-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 5rem 0 4rem;
  color: white;
  direction: rtl;
  position: relative;
  overflow: hidden;
}
.creator-profile-main .author-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}
.creator-profile-main .author-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.creator-profile-main .author-hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: right;
  animation: slideUp 0.6s ease-out 0.2s both;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .hero-content {
    gap: 3rem;
  }
}
.creator-profile-main .author-hero .hero-row {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
.creator-profile-main .author-hero .hero-row.intro-row {
  flex-direction: row-reverse;
  align-items: center;
  gap: 4rem;
  position: relative;
  min-height: 100%;
}
@media (max-width: 1024px) {
  .creator-profile-main .author-hero .hero-row.intro-row {
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .hero-row.intro-row {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
}
.creator-profile-main .author-hero .hero-row.intro-row .credential-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05);
}
.creator-profile-main .author-hero .hero-row.intro-row .credential-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.creator-profile-main .author-hero .hero-row.details-row {
  gap: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.creator-profile-main .author-hero .hero-row.details-row.credential-card--senior {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.35), rgba(253, 224, 71, 0.18));
  border-color: rgba(250, 204, 21, 0.5);
  color: rgba(255, 249, 195, 0.95);
}
.creator-profile-main .author-hero .hero-row.details-row.credential-card--senior .credential-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(250, 204, 21, 0.6);
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .hero-row.details-row {
    text-align: center;
    border-bottom: none;
    padding-bottom: 2rem;
  }
}
.creator-profile-main .author-hero .hero-row.actions-row {
  animation: slideUp 0.6s ease-out 0.4s both;
}
.creator-profile-main .author-hero .hero-row.actions-row .contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .hero-row.actions-row .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
.creator-profile-main .author-hero .hero-row.stats-row {
  animation: slideUp 0.6s ease-out 0.6s both;
}
.creator-profile-main .author-hero .hero-row.credential-row {
  animation: slideUp 0.6s ease-out 0.8s both;
}
.creator-profile-main .author-hero .author-intro {
  display: flex;
  flex-direction: row-reverse;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
@media (max-width: 1024px) {
  .creator-profile-main .author-hero .author-intro {
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-intro {
    gap: 2.5rem;
  }
}
.creator-profile-main .author-hero .author-avatar {
  position: relative;
  animation: bounceIn 0.8s ease-out 0.3s both;
}
.creator-profile-main .author-hero .author-avatar .avatar-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.creator-profile-main .author-hero .author-avatar .avatar-image::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  z-index: -1;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-avatar .avatar-image {
    width: 120px;
    height: 120px;
  }
}
.creator-profile-main .author-hero .author-avatar:hover .avatar-image {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 40px 80px -12px rgba(0, 0, 0, 0.4);
}
.creator-profile-main .author-hero .author-avatar .availability-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.98);
  color: #16a34a;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(15px);
  transform: translate(-50%, 25%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.creator-profile-main .author-hero .author-avatar .availability-badge .status-dot {
  width: 0.6rem;
  height: 0.6rem;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.creator-profile-main .author-hero .author-avatar .availability-badge.status-offline {
  color: #dc2626;
}
.creator-profile-main .author-hero .author-avatar .availability-badge.status-offline .status-dot {
  background: #dc2626;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}
.creator-profile-main .author-hero .author-info {
  flex: 1;
  text-align: right;
  animation: slideRight 0.8s ease-out 0.4s both;
}
.creator-profile-main .author-hero .author-info .author-name {
  font-size: 3.2rem;
  font-weight: 900;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  hyphens: auto;
  word-break: break-word;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 1024px) {
  .creator-profile-main .author-hero .author-info .author-name {
    font-size: 2.8rem;
  }
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-info .author-name {
    font-size: 2.3rem;
  }
}
@media (max-width: 480px) {
  .creator-profile-main .author-hero .author-info .author-name {
    font-size: 2rem;
  }
}
.creator-profile-main .author-hero .author-info .author-seniority-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  margin: 0.5rem 0;
  background: rgba(254, 240, 138, 0.2);
  border: 1px solid rgba(252, 211, 77, 0.5);
  border-radius: 999px;
  color: #fef08a;
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  animation: fadeInScale 0.6s ease-out 0.6s both;
}
.creator-profile-main .author-hero .author-info .author-seniority-badge svg {
  width: 1rem;
  height: 1rem;
}
.creator-profile-main .author-hero .author-info .author-certification {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  animation: fadeInScale 0.6s ease-out 0.8s both;
}
.creator-profile-main .author-hero .author-info .author-certification svg {
  width: 1.1rem;
  height: 1.1rem;
}
.creator-profile-main .author-hero .author-info .author-title {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5rem 0;
  font-weight: 600;
  text-align: right;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-info .author-title {
    font-size: 1.4rem;
  }
}
.creator-profile-main .author-hero .contact-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .contact-actions {
    justify-content: center;
  }
}
.creator-profile-main .author-hero .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.creator-profile-main .author-hero .contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.creator-profile-main .author-hero .contact-btn:hover::before {
  opacity: 1;
}
.creator-profile-main .author-hero .contact-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.3s ease;
}
.creator-profile-main .author-hero .contact-btn--primary {
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.creator-profile-main .author-hero .contact-btn--primary:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.creator-profile-main .author-hero .contact-btn--primary:hover svg {
  transform: translateX(-2px);
}
.creator-profile-main .author-hero .contact-btn--primary:focus {
  outline: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.creator-profile-main .author-hero .contact-btn--outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.creator-profile-main .author-hero .contact-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}
.creator-profile-main .author-hero .contact-btn--outline:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.creator-profile-main .author-hero .contact-btn.copied {
  background: #16a34a !important;
  color: white !important;
  animation: copiedPulse 0.6s ease;
}
.creator-profile-main .author-hero .author-stats {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: 100%;
  justify-items: stretch;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .creator-profile-main .author-hero .author-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}
@media (max-width: 640px) {
  .creator-profile-main .author-hero .author-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.creator-profile-main .author-hero .stat-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.creator-profile-main .author-hero .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}
.creator-profile-main .author-hero .stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}
.creator-profile-main .author-hero .stat-card:hover::before {
  left: 100%;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .stat-card {
    padding: 1.75rem;
  }
}
.creator-profile-main .author-hero .stat-card .stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}
.creator-profile-main .author-hero .stat-card .stat-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.creator-profile-main .author-hero .stat-card .stat-content .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .stat-card .stat-content .stat-number {
    font-size: 2rem;
  }
}
.creator-profile-main .author-hero .stat-card .stat-content .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}
.creator-profile-main .author-hero .stat-card .stat-content .stat-description {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  min-height: 2.4rem;
}
.creator-profile-main .author-hero .stat-card .stat-content .stat-progress {
  width: 100%;
  height: 0.6rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}
.creator-profile-main .author-hero .stat-card .stat-content .stat-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  animation: shimmer 2s infinite;
}
.creator-profile-main .author-hero .stat-card .stat-content .stat-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: inherit;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}
.creator-profile-main .author-hero .details-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .details-row {
    flex-direction: column;
  }
}
.creator-profile-main .author-hero .author-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  width: 100%;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-details {
    grid-template-columns: 1fr;
    order: 2;
  }
}
.creator-profile-main .author-hero .author-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-detail {
    justify-content: center;
    text-align: center;
  }
  .creator-profile-main .author-hero .author-detail div {
    text-align: center;
  }
}
.creator-profile-main .author-hero .author-detail svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}
.creator-profile-main .author-hero .author-detail .detail-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
  margin-bottom: 0.35rem;
}
.creator-profile-main .author-hero .author-detail .detail-value {
  font-size: 1rem;
  font-weight: 600;
}
.creator-profile-main .author-hero .author-detail.author-detail--collaboration.detail--onsite {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.12);
}
.creator-profile-main .author-hero .author-detail.author-detail--collaboration.detail--remote {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.12);
}
.creator-profile-main .author-hero .author-bio {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  width: 100%;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .author-bio {
    text-align: center;
    order: 1;
  }
}
.creator-profile-main .author-hero .author-bio p {
  margin: 0 0 1rem;
}
.creator-profile-main .author-hero .author-bio p:last-child {
  margin-bottom: 0;
}
.creator-profile-main .author-hero .credential-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .creator-profile-main .author-hero .credential-row {
    grid-template-columns: 1fr;
  }
}
.creator-profile-main .author-hero .credential-card {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.95);
}
.creator-profile-main .author-hero .credential-card svg {
  width: 2rem;
  height: 2rem;
}
.creator-profile-main .author-hero .credential-card.credential-card--certified {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
}
.creator-profile-main .author-hero .credential-card.credential-card--collaboration.is-onsite {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
}
.creator-profile-main .author-hero .credential-card.credential-card--collaboration.is-remote {
  background: rgba(147, 197, 253, 0.15);
  border-color: rgba(147, 197, 253, 0.35);
}
.creator-profile-main .author-hero .credential-card.credential-card--availability.is-online {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.35);
}
.creator-profile-main .author-hero .credential-card.credential-card--availability.is-offline {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
}
.creator-profile-main .author-hero .credential-card .credential-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.creator-profile-main .author-hero .credential-card .credential-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.creator-profile-main .author-hero .credential-card .credential-content .credential-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.creator-profile-main .author-portfolio {
  padding: 5rem 0;
  animation: fadeIn 0.8s ease-out 0.2s both;
}
.creator-profile-main .author-portfolio .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.creator-profile-main .author-portfolio .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.creator-profile-main .author-portfolio .section-header .section-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.75rem;
  position: relative;
}
.creator-profile-main .author-portfolio .section-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}
.creator-profile-main .author-portfolio .section-header .section-subtitle {
  font-size: 1.2rem;
  color: #4b5563;
}
.creator-profile-main .author-portfolio .empty-portfolio {
  text-align: center;
  font-size: 1.1rem;
}
.creator-profile-main .author-portfolio .portfolio-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  margin-bottom: 4rem;
}
.creator-profile-main .author-portfolio .portfolio-item {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1.25rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
.creator-profile-main .author-portfolio .portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.creator-profile-main .author-portfolio .portfolio-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}
.creator-profile-main .author-portfolio .portfolio-item:hover::before {
  transform: scaleX(1);
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1.25rem;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-header .portfolio-title {
  flex: 1;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-header .portfolio-title a {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-header .portfolio-title a:hover {
  color: #667eea;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-header .portfolio-date {
  font-size: 0.9rem;
  color: #6b7280;
  white-space: nowrap;
  font-weight: 500;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-excerpt {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 1rem;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.3s ease;
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link:hover {
  color: #5a67d8;
  transform: translateX(-3px);
}
.creator-profile-main .author-portfolio .portfolio-item .portfolio-footer .portfolio-link:hover svg {
  transform: translateX(2px);
}
.creator-profile-main .author-portfolio .view-more {
  text-align: center;
}
.creator-profile-main .author-portfolio .view-more .view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.creator-profile-main .author-portfolio .view-more .view-more-btn svg {
  width: 1rem;
  height: 1rem;
}
.creator-profile-main .author-portfolio .view-more .view-more-btn:hover {
  background: #5a67d8;
  transform: translateY(-2px);
}
.creator-profile-main .author-portfolio .portfolio-empty {
  text-align: center;
  padding: 4rem 2rem;
}
@media (max-width: 768px) {
  .creator-profile-main .author-portfolio .portfolio-empty {
    padding: 2rem 1rem;
  }
}
.creator-profile-main .author-portfolio .portfolio-empty .empty-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  color: #9ca3af;
}
@media (max-width: 768px) {
  .creator-profile-main .author-portfolio .portfolio-empty .empty-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
  }
}
.creator-profile-main .author-portfolio .portfolio-empty .empty-icon svg {
  width: 100%;
  height: 100%;
}
.creator-profile-main .author-portfolio .portfolio-empty h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .creator-profile-main .author-portfolio .portfolio-empty h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}
.creator-profile-main .author-portfolio .portfolio-empty p {
  color: #4b5563;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .creator-profile-main .author-portfolio .portfolio-empty p {
    font-size: 0.9rem;
  }
}
.creator-profile-main .author-social {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 0;
}
.creator-profile-main .author-social .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
.creator-profile-main .author-social .social-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}
.creator-profile-main .author-social .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.creator-profile-main .author-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  text-decoration: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.creator-profile-main .author-social .social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}
.creator-profile-main .author-social .social-link:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}
.creator-profile-main .authors-page-main {
  min-height: 100vh;
  background: #f2f4fd;
}
.creator-profile-main .authors-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  color: white;
}
.creator-profile-main .authors-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.creator-profile-main .authors-hero .hero-content {
  text-align: center;
}
.creator-profile-main .authors-hero .hero-content .page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .creator-profile-main .authors-hero .hero-content .page-title {
    font-size: 2rem;
  }
}
.creator-profile-main .authors-hero .hero-content .page-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}
.creator-profile-main .authors-hero .search-filter {
  max-width: 500px;
  margin: 0 auto;
}
.creator-profile-main .authors-hero .search-filter .search-box {
  position: relative;
}
.creator-profile-main .authors-hero .search-filter .search-box input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
.creator-profile-main .authors-hero .search-filter .search-box input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.creator-profile-main .authors-hero .search-filter .search-box input::-moz-placeholder {
  color: #6b7280;
}
.creator-profile-main .authors-hero .search-filter .search-box input::placeholder {
  color: #6b7280;
}
.creator-profile-main .authors-hero .search-filter .search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes copiedPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@media (max-width: 768px) {
  .creator-profile-main .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .creator-profile-main .author-hero .hero-content {
    gap: 2rem;
  }
  .creator-profile-main .hero-row.intro-row {
    gap: 1.5rem;
  }
  .creator-profile-main .hero-row.details-row {
    padding-bottom: 1.5rem;
  }
  .creator-profile-main .contact-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .creator-profile-main .author-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Authors List Styles */
.authors-page-main {
  min-height: 100vh;
  background: #f2f4fd;
}
.authors-page-main .authors-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 0;
  color: white;
}
.authors-page-main .authors-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.authors-page-main .authors-hero .hero-content {
  text-align: center;
}
.authors-page-main .authors-hero .hero-content .page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .authors-page-main .authors-hero .hero-content .page-title {
    font-size: 2rem;
  }
}
.authors-page-main .authors-hero .hero-content .page-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}
.authors-page-main .authors-hero .search-filter {
  max-width: 500px;
  margin: 0 auto;
}
.authors-page-main .authors-hero .search-filter .search-box {
  position: relative;
}
.authors-page-main .authors-hero .search-filter .search-box input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}
.authors-page-main .authors-hero .search-filter .search-box input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.authors-page-main .authors-hero .search-filter .search-box input::-moz-placeholder {
  color: #6b7280;
}
.authors-page-main .authors-hero .search-filter .search-box input::placeholder {
  color: #6b7280;
}
.authors-page-main .authors-hero .search-filter .search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
}
.authors-page-main .authors-listing {
  padding: 4rem 0;
}
.authors-page-main .authors-listing .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.authors-page-main .authors-listing .authors-stats {
  margin-bottom: 3rem;
}
.authors-page-main .authors-listing .authors-stats .stats-info {
  text-align: center;
}
.authors-page-main .authors-listing .authors-stats .stats-info .total-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-left: 0.5rem;
}
.authors-page-main .authors-listing .authors-stats .stats-info .description {
  color: #4b5563;
}
.authors-page-main .authors-listing .authors-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.authors-page-main .authors-listing .authors-pagination {
  margin-top: 3rem;
  text-align: center;
}
.authors-page-main .authors-listing .authors-pagination ul {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.authors-page-main .authors-listing .authors-pagination li a,
.authors-page-main .authors-listing .authors-pagination li span {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
}
.authors-page-main .authors-listing .authors-pagination li span.current {
  background: #667eea;
  color: white;
  border-color: #667eea;
}
.authors-page-main .authors-listing .authors-pagination li a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}
.authors-page-main .authors-listing .authors-empty-search {
  text-align: center;
  padding: 2rem;
  color: #4b5563;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .authors-page-main .authors-grid {
    grid-template-columns: 1fr;
  }
}

/* dashboard create post order Styles */
.create-post-order-main {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.15) 100%);
  padding: clamp(2rem, 4vw, 4rem) 0 5rem;
}
.create-post-order-main .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.create-post-order-main .page-header .page-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}
.create-post-order-main .page-header .page-subtitle {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
}
.create-post-order-main .page-header .back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.35);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.create-post-order-main .page-header .back-button svg {
  width: 1.25rem;
  height: 1.25rem;
}
.create-post-order-main .page-header .back-button:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.18);
}
.create-post-order-main .create-intro {
  display: flex;
  flex-direction: column;
}
.create-post-order-main .create-intro .create-intro-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1.5rem;
  border: 1px solid rgba(102, 126, 234, 0.14);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
  color: #111827;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  cursor: pointer;
  transition: all 0.3s ease;
}
.create-post-order-main .create-intro .create-intro-toggle:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.08);
}
.create-post-order-main .create-intro .create-intro-toggle.active {
  border-radius: 1.5rem 1.5rem 0 0;
}
.create-post-order-main .create-intro .create-intro-toggle__text {
  margin: 0;
}
.create-post-order-main .create-intro .create-intro-toggle__icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}
.create-post-order-main .create-intro .create-intro-toggle.active .create-post-order-main .create-intro .create-intro-toggle__icon {
  transform: rotate(180deg);
}
.create-post-order-main .create-intro .create-intro__card {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(102, 126, 234, 0.14);
  border-top: none;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
}
.create-post-order-main .create-intro .create-intro__card.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-top: 1px solid rgba(102, 126, 234, 0.14);
}
.create-post-order-main .create-intro .create-intro__card .create-intro__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  font-weight: 700;
  color: #111827;
}
.create-post-order-main .create-intro .create-intro__card .create-intro__text {
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}
.create-post-order-main .create-intro .create-intro__card .create-intro__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: #4b5563;
}
.create-post-order-main .create-intro .create-intro__card .create-intro__list li {
  position: relative;
  padding-right: 1.5rem;
}
.create-post-order-main .create-intro .create-intro__card .create-intro__list li::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
}
.create-post-order-main .create-intro .create-intro__card .button--ghost {
  align-self: flex-start;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px dashed rgba(102, 126, 234, 0.55);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: all 0.2s ease;
}
.create-post-order-main .create-intro .create-intro__card .button--ghost:hover {
  border-color: rgba(102, 126, 234, 0.85);
  background: rgba(102, 126, 234, 0.12);
  box-shadow: 0 16px 28px rgba(102, 126, 234, 0.18);
}
.create-post-order-main .creation-locked {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
}
.create-post-order-main .creation-locked__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  color: rgba(102, 126, 234, 0.6);
}
.create-post-order-main .creation-locked__icon svg {
  width: 100%;
  height: 100%;
}
.create-post-order-main .creation-locked__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
}
.create-post-order-main .creation-locked__description {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.create-post-order-main .creation-locked__actions {
  display: flex;
  justify-content: center;
}
.create-post-order-main .creation-locked__actions .button {
  min-width: 220px;
}
.create-post-order-main .thumbnail-upload-container {
  margin-top: 0.5rem;
}
.create-post-order-main .thumbnail-preview {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
  background-color: #f9f9f9;
}
.create-post-order-main .thumbnail-preview img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.create-post-order-main .thumbnail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.create-post-order-main .thumbnail-actions .button {
  flex: 0 0 auto;
}
.create-post-order-main #thumbnail-fields {
  display: none !important;
}

@media (max-width: 992px) {
  .create-post-order-main .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .create-post-order-main .page-header .back-button {
    align-self: stretch;
    justify-content: center;
  }
}
/* dashboard edit post order Styles */
.edit-post-order-main {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.15) 100%);
  padding: clamp(2rem, 4vw, 4rem) 0 5rem;
}
.edit-post-order-main .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.edit-post-order-main .page-header .page-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}
.edit-post-order-main .page-header .page-subtitle {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
}
.edit-post-order-main .page-header .back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.35);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.edit-post-order-main .page-header .back-button svg {
  width: 1.25rem;
  height: 1.25rem;
}
.edit-post-order-main .page-header .back-button:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.18);
}
.edit-post-order-main .create-intro {
  display: flex;
}
.edit-post-order-main .create-intro .create-intro__card {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(102, 126, 234, 0.14);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
.edit-post-order-main .create-intro .create-intro__card .create-intro__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  font-weight: 700;
  color: #111827;
}
.edit-post-order-main .create-intro .create-intro__card .create-intro__text {
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}
.edit-post-order-main .create-intro .create-intro__card .create-intro__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: #4b5563;
}
.edit-post-order-main .create-intro .create-intro__card .create-intro__list li {
  position: relative;
  padding-right: 1.5rem;
}
.edit-post-order-main .create-intro .create-intro__card .create-intro__list li::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
}
.edit-post-order-main .create-intro .create-intro__card--secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(102, 126, 234, 0.1);
}
.edit-post-order-main .auto-save-status {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(102, 126, 234, 0.28);
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.1);
  color: #374151;
  font-weight: 500;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.edit-post-order-main .auto-save-status[data-state=dirty] {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(251, 191, 36, 0.45);
  color: #854d0e;
}
.edit-post-order-main .auto-save-status[data-state=saving] {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(79, 70, 229, 0.35);
  color: #3730a3;
}
.edit-post-order-main .auto-save-status[data-state=success] {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(22, 163, 74, 0.4);
  color: #166534;
}
.edit-post-order-main .auto-save-status[data-state=error] {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(220, 38, 38, 0.4);
  color: #7f1d1d;
}
.edit-post-order-main .auto-save-status__indicator {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.edit-post-order-main .auto-save-status__text {
  font-size: 0.95rem;
  line-height: 1.6;
}
.edit-post-order-main .auto-save-status[data-state=dirty] .edit-post-order-main .auto-save-status__indicator {
  background: #facc15;
  box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.15);
  animation: autoSavePulse 1.8s ease-in-out infinite;
}
.edit-post-order-main .auto-save-status[data-state=saving] .edit-post-order-main .auto-save-status__indicator {
  background: #6366f1;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.18);
  animation: autoSavePulse 1s linear infinite;
}
.edit-post-order-main .auto-save-status[data-state=success] .edit-post-order-main .auto-save-status__indicator {
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
  animation: none;
}
.edit-post-order-main .auto-save-status[data-state=error] .edit-post-order-main .auto-save-status__indicator {
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2);
  animation: autoSavePulse 1.4s ease-in-out infinite;
}
@keyframes autoSavePulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.edit-post-order-main .creation-locked {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
}
.edit-post-order-main .creation-locked__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  color: rgba(102, 126, 234, 0.6);
}
.edit-post-order-main .creation-locked__icon svg {
  width: 100%;
  height: 100%;
}
.edit-post-order-main .creation-locked__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 1rem;
}
.edit-post-order-main .creation-locked__description {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.edit-post-order-main .creation-locked__actions {
  display: flex;
  justify-content: center;
}
.edit-post-order-main .creation-locked__actions .button {
  min-width: 220px;
}
.edit-post-order-main .thumbnail-upload-container {
  margin-top: 0.5rem;
}
.edit-post-order-main .thumbnail-preview {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
  background-color: #f9f9f9;
}
.edit-post-order-main .thumbnail-preview img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.edit-post-order-main .thumbnail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.edit-post-order-main .thumbnail-actions .button {
  flex: 0 0 auto;
}
.edit-post-order-main #thumbnail-fields {
  display: none !important;
}

@media (max-width: 992px) {
  .edit-post-order-main .page-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .edit-post-order-main .page-header .back-button {
    align-self: stretch;
    justify-content: center;
  }
}
.post-orders-list-page {
  background: #f9fafb;
  min-height: 100vh;
  padding-block: clamp(2rem, 4vw, 4rem);
}
.post-orders-list-page__container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.post-orders-list-page__header {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}
.post-orders-list-page__title {
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  color: #111827;
  font-weight: 700;
  line-height: 1.2;
}
.post-orders-list-page__intro {
  margin: 0 auto;
  max-width: 720px;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.8;
}
.post-orders-list-page__intro p {
  margin-bottom: 1rem;
}
.post-orders-list-page__filters {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: #ffffff;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.25);
}
.post-orders-list-page__grid {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .post-orders-list-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .post-orders-list-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.post-orders-list-page__pagination {
  margin-top: clamp(3rem, 4vw, 4.5rem);
}
.post-orders-list-page__empty {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 3vw, 2rem);
  background: #ffffff;
  border-radius: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.25);
}
.post-orders-list-page__empty-icon {
  margin: 0 auto clamp(1.5rem, 2.5vw, 2rem);
  width: clamp(4rem, 6vw, 5rem);
  height: clamp(4rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #faf5ff);
}
.post-orders-list-page__empty-icon svg {
  width: clamp(2.5rem, 4vw, 3rem);
  height: clamp(2.5rem, 4vw, 3rem);
  color: #3b82f6;
}
.post-orders-list-page__empty-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  color: #111827;
  font-weight: 700;
}
.post-orders-list-page__empty-message {
  margin: 0;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.7;
}

.filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: end;
}
.filters-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
  flex: 1;
}
.filters-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}
.filters-form__input, .filters-form__select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filters-form__input:focus, .filters-form__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.filters-form__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.post-order-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.15);
  padding: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-order-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #a855f7, );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.post-order-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px -20px rgba(15, 23, 42, 0.25);
}
.post-order-card:hover::before {
  opacity: 1;
}
.post-order-card:hover .post-order-card__thumbnail-image {
  transform: scale(1.05);
}
.post-order-card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-order-card__header {
  margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
}
.post-order-card__title {
  margin: 0 0 1rem;
  font-size: clamp(1.375rem, 1.75vw + 0.5rem, 1.625rem);
  line-height: 1.3;
  font-weight: 700;
}
.post-order-card__title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}
.post-order-card__title a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
  transition: width 0.3s ease;
}
.post-order-card__title a:hover, .post-order-card__title a:focus-visible {
  color: #2563eb;
}
.post-order-card__title a:hover::after, .post-order-card__title a:focus-visible::after {
  width: 100%;
}
.post-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.post-order-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.post-order-card__badge--type {
  background: linear-gradient(135deg, #eff6ff, #faf5ff);
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.post-order-card__badge--type::before {
  content: "📝";
}
.post-order-card__badge--lang {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #d1d5db;
}
.post-order-card__badge--lang::before {
  content: "🌐";
}
.post-order-card__badge--words {
  background: #f0fdf4;
  color: #16a34a;
}
.post-order-card__badge--words::before {
  content: "📊";
}
.post-order-card__badge--date::before {
  content: "📅";
}
.post-order-card__thumbnail {
  margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.15);
  position: relative;
}
.post-order-card__thumbnail-image {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.post-order-card__thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.post-order-card__thumbnail:hover::after {
  opacity: 1;
}
.post-order-card__excerpt {
  flex: 1;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.post-order-card__excerpt::after {
  content: "...";
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffff;
  padding-left: 0.25rem;
}
.post-order-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: clamp(1.25rem, 2vw, 1.5rem);
  border-top: 2px solid #f3f4f6;
  margin-top: auto;
}
.post-order-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.post-order-card__author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.4);
  border: 3px solid #ffffff;
  transition: transform 0.3s ease;
}
.post-order-card__author-avatar:hover {
  transform: scale(1.1);
}
.post-order-card__author-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}
.post-order-card__author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-order-card__author-link {
  font-size: 0.75rem;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}
.post-order-card__author-link:hover, .post-order-card__author-link:focus-visible {
  color: #1e40af;
  text-decoration: underline;
  transform: translateX(-2px);
}
.post-order-card__date {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0.25rem;
}

.search-page {
  background-color: rgb(249, 250, 251);
  padding-block: 3rem;
  min-height: 60vh;
}
.search-page__header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.search-page__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.search-page__query {
  color: #2563eb;
  font-weight: 700;
  display: inline-block;
  padding: 0 0.5rem;
  background: #eff6ff;
  border-radius: 0.375rem;
}
.search-page__form-wrapper {
  max-width: 600px;
  margin: 2rem auto 0;
}
.search-page__form-wrapper .search-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.search-page__form-wrapper .search-form input[type=search] {
  flex: 1;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.search-page__form-wrapper .search-form input[type=search]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-page__form-wrapper .search-form button[type=submit] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  min-width: 120px;
}
.search-page__form-wrapper .search-form button[type=submit]:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.search-page__form-wrapper .search-form button[type=submit]:active {
  transform: translateY(0);
}
.search-page__form-wrapper .search-form button[type=submit] svg {
  width: 1rem;
  height: 1rem;
}
.search-page__no-results {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  margin-block: 2rem;
}
.search-page__no-results-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.search-page__no-results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.search-page__no-results-text {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}
.search-page__results {
  display: flex;
  flex-direction: column;
}
.search-page__section {
  background: transparent;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.search-page__section:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.search-page__section:not(:last-child) {
  margin-bottom: 3rem;
}
.search-page__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #dbeafe;
}
@media (max-width: 768px) {
  .search-page__section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
.search-page__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  background: linear-gradient(135deg, #2563eb, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.search-page__section-count {
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
}
.search-page__section-count:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.search-page__posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.search-page__profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .search-page {
    padding-block: 2rem;
  }
  .search-page__title {
    font-size: 1.5rem;
  }
  .search-page__query {
    display: block;
    margin-top: 0.5rem;
  }
  .search-page__form-wrapper .search-form {
    flex-direction: column;
  }
  .search-page__form-wrapper .search-form button[type=submit] {
    width: 100%;
  }
  .search-page__section {
    padding: 1.5rem;
  }
  .search-page__section-header {
    margin-bottom: 1.5rem;
  }
  .search-page__posts-grid, .search-page__profiles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* Utility classes (typography, spacing, colors, etc.) */
.text--xs {
  font-size: 0.75rem;
}

.text--sm {
  font-size: 0.875rem;
}

.text--lg {
  font-size: 1.125rem;
}

.text--xl {
  font-size: 1.25rem;
}

.text--2xl {
  font-size: 1.5rem;
}

.text--3xl {
  font-size: 1.875rem;
}

.text--4xl {
  font-size: 2.25rem;
}

.font--bold {
  font-weight: 700;
}

.font--semibold {
  font-weight: 600;
}

.font--medium {
  font-weight: 500;
}

.mb--4 {
  margin-bottom: 1rem;
}

.mb--8 {
  margin-bottom: 2rem;
}

.mb--6 {
  margin-bottom: 1.5rem;
}

.mb--3 {
  margin-bottom: 0.75rem;
}

.mb--2 {
  margin-bottom: 0.5rem;
}

.mt--8 {
  margin-top: 2rem;
}

.mt--12 {
  margin-top: 3rem;
}

.mt--4 {
  margin-top: 1rem;
}

.mt--6 {
  margin-top: 1.5rem;
}

.py--8 {
  padding-block: 2rem;
}

.py--16 {
  padding-block: 4rem;
}

.py--12 {
  padding-block: 3rem;
}

.p--6 {
  padding: 1.5rem;
}

.p--8 {
  padding: 2rem;
}

.p--4 {
  padding: 1rem;
}

.px--4 {
  padding-inline: 1rem;
}

.pl--4 {
  padding-left: 1rem;
}

.pr--4 {
  padding-right: 1rem;
}

.max-w--md {
  max-width: 28rem;
}

.max-w--none {
  max-width: none;
}

.flex--1 {
  flex: 1;
}

.flex-shrink--0 {
  flex-shrink: 0;
}

.w--1\/2 {
  width: 50%;
}

.space-x--4 {
  gap: 1rem;
}

.space-x--6 {
  gap: 1.5rem;
}

.space-x--8 {
  gap: 2rem;
}

.space-y--6 {
  gap: 1.5rem;
}

.space-x--reverse {
  direction: ltr;
}

.text--gray-900 {
  color: #111827;
}

.text--gray-700 {
  color: #374151;
}

.text--gray-600 {
  color: #4b5563;
}

.text--gray-500 {
  color: #6b7280;
}

.text--gray-400 {
  color: #9ca3af;
}

.text--blue-600 {
  color: #2563eb;
}

.text--blue-800 {
  color: #1e40af;
}

.text--green-600 {
  color: #16a34a;
}

.bg--gray-50 {
  background: #f9fafb;
}

.bg--white {
  background: #ffffff;
}

.bg--green-50 {
  background: #f0fdf4;
}

.bg--blue-50 {
  background: #eff6ff;
}

.border--blue-200 {
  border: 1px solid #bfdbfe;
}

.text--blue-700 {
  color: #1d4ed8;
}

.text--blue-800 {
  color: #1e40af;
}

.shadow--sm {
  box-shadow: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
}

.rounded--lg {
  border-radius: 0.5rem;
}

.rounded--md {
  border-radius: 0.375rem;
}

.rounded--full {
  border-radius: 50%;
}

.rounded--r-none {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.border-l--0 {
  border-left-width: 0;
}

.w--4 {
  width: 1rem;
}

.h--4 {
  height: 1rem;
}

.w--5 {
  width: 1.25rem;
}

.h--5 {
  height: 1.25rem;
}

.w--12 {
  width: 3rem;
}

.h--12 {
  height: 3rem;
}

.w--16 {
  width: 4rem;
}

.h--16 {
  height: 4rem;
}

.w--24 {
  width: 6rem;
}

.h--24 {
  height: 6rem;
}

.w--32 {
  width: 8rem;
}

.h--32 {
  height: 8rem;
}

.mx--auto {
  margin-inline: auto;
}

.line-clamp--3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.leading--relaxed {
  line-height: 1.625;
}

.transition-colors {
  transition: color 0.2s ease;
}

.group:hover .group-hover\:text--blue-600 {
  color: #2563eb;
}

.hover\:bg--gray-50:hover {
  background: #f9fafb;
}

.hover\:text--blue-600:hover {
  color: #2563eb;
}

.hover\:text--blue-800:hover {
  color: #1e40af;
}

.text--left {
  text-align: left;
}

.text--right {
  text-align: right;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
.icon--sm {
  width: 0.75rem;
  height: 0.75rem;
}
.icon--md {
  width: 1.5rem;
  height: 1.5rem;
}
.icon--lg {
  width: 2rem;
  height: 2rem;
}

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

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-RD[wght].woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-vazir: "Vazirmatn", sans-serif;
}

body {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  direction: rtl;
}
body button {
  font-family: inherit;
}

.prose {
  max-width: none;
  line-height: 1.75;
}
.prose h1,
.prose h2,
.prose h3 {
  color: #111827;
  margin-block: 1.5rem;
}
.prose p {
  margin-bottom: 1rem;
  color: #374151;
}
.prose a {
  color: #2563eb;
  text-decoration: underline;
}
.prose a:hover {
  color: #1e40af;
}
.prose ul,
.prose ol {
  padding-inline-start: 1rem;
  margin-bottom: 1rem;
}
.prose.truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
.icon--sm {
  width: 0.75rem;
  height: 0.75rem;
}
.icon--md {
  width: 1.5rem;
  height: 1.5rem;
}
.icon--lg {
  width: 2rem;
  height: 2rem;
}

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

.text--body {
  color: #4b5563;
  font-size: 1.125rem;
}

.text--dark {
  color: #111827;
}

.text--small {
  font-size: 0.875rem;
  color: #6b7280;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/*# sourceMappingURL=maps/main.css.map */
