/*
Theme Name: Tavoosi Auction
Theme URI: https://tavoosi-blog.test/
Author: Vahid
Description: Custom Tavoosi Auction homepage theme with editable content.
Version: 1.1.0
Text Domain: tavoosi-auction
*/

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

:root {
  --bg: #000;
  --text: #fff;
  --muted: #888;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Satoshi', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-wrap { min-height: 100dvh; }

.tavoosi-container {
  width: min(1360px, calc(100% - 80px));
  margin: 0 auto;
}

.tavoosi-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
}

.tavoosi-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.78), transparent);
}

.tavoosi-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.tavoosi-logo img {
  width: auto;
  height: 40px;
  display: block;
}

.tavoosi-menu {
  display: flex;
  gap: 46px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tavoosi-menu a {
  font-size: 22px;
  font-weight: 400;
  text-transform: capitalize;
  transition: opacity 0.2s;
}

.tavoosi-menu a:hover { opacity: 0.6; }

.tavoosi-hero {
  height: 60vh;
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 128px 0 80px;
  text-align: center;
}

.tavoosi-kicker {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 3px;
  margin: 0 0 48px;
  font-weight: 500;
}

.tavoosi-hero h1 {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.355;
  font-weight: 400;
  max-width: 920px;
  text-align: center;
}

.t-section {
  border-top: 1px solid var(--line);
  padding: 80px 0;
}

.t-h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 500;
  text-transform: capitalize;
}

.t-sub {
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 40px;
}

.t-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.t-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.t-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.t-card {
  background: transparent;
  border: 0;
}

.t-card-media-wrap {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.t-card-media {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.35s ease;
}

.t-card-body { padding: 16px 0 4px; }

.t-card-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 8px;
}

.t-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; }
.t-card p { margin: 0; color: var(--muted); }
.t-meta { margin-top: 12px; font-size: 14px; color: var(--muted); }

.t-read-more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.t-news-actions {
  text-align: center;
  margin-top: 42px;
}

.t-upcoming-media-wrap {
  border-bottom: none;
}

.t-upcoming-media {
  aspect-ratio: 595 / 374;
}

.t-upcoming-location {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.t-upcoming-media-wrap + .t-card-body h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.t-upcoming-media-wrap + .t-card-body > p {
  font-size: 10px;
  line-height: 1.3;
}

.t-upcoming-media-wrap + .t-card-body .t-card-kicker {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.t-upcoming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.t-mini-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  min-height: 32px;
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.t-mini-btn svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
}

.t-mini-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.t-mini-btn-solid {
  background: #fff;
  color: #000;
}

.t-mini-btn-solid:hover {
  background: #efefef;
}

.t-passed-card:hover .t-card-media {
  transform: scale(1.05);
}

.t-passed-media-wrap {
  position: relative;
}

.t-passed-media {
  aspect-ratio: 1 / 1;
}

.t-passed-tag-wrap {
  position: absolute;
  top: 16px;
  right: 16px;
}

.t-passed-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.t-passed-tag.is-sold {
  background: #fff;
  color: #000;
}

.t-passed-tag.is-unsold {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.t-passed-body {
  display: grid;
  gap: 8px;
}

.t-passed-lot {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
}

.t-passed-artist {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #fff;
}

.t-passed-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-style: italic;
}

.t-passed-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding-top: 8px;
}

.t-passed-est {
  color: rgba(255, 255, 255, 0.45);
}

.t-passed-price {
  color: #fff;
}

.t-service-card {
  border: 1px solid var(--line);
  transition: border-color 0.25s ease;
}

.t-service-card .t-card-body {
  padding: 24px;
}

.t-service-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.t-news-card {
  border: 1px solid var(--line);
  padding: 0;
  transition: border-color 0.25s ease;
}

.t-news-card .t-card-body {
  padding: 16px;
}

.t-news-card .t-card-media-wrap {
  border-bottom: 1px solid var(--line);
}

.t-news-media {
  aspect-ratio: 4 / 3;
}

.t-news-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.t-news-card:hover .t-card-media {
  filter: brightness(0.88);
}

.t-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.t-news-date {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.t-news-category {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.85);
}

.t-news-excerpt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.t-read-more svg,
.t-footer-icon svg {
  width: 16px;
  height: 16px;
}

.t-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.t-list li::before { content: '•'; margin-right: 8px; }

.t-about-copy { max-width: 980px; margin: 0 auto; text-align: center; }
.t-about-copy p { color: var(--muted); font-size: 18px; line-height: 1.6; }

.t-stats {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.t-stat { text-align: center; }
.t-stat-icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 14px;
  color: rgba(255, 255, 255, 0.6);
}
.t-stat-icon svg {
  width: 100%;
  height: 100%;
}
.t-stat-number { font-size: 48px; font-weight: 700; margin-bottom: 2px; }
.t-stat-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.t-visit-block { margin-bottom: 28px; }
.t-visit-block h3,
.t-specialists h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.65);
}
.t-visit-block p { margin: 0; color: #fff; line-height: 1.65; }
.t-specialists > div {
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
  margin-bottom: 16px;
}
.t-specialists > div:last-child { border-bottom: 0; margin-bottom: 0; }
.t-specialists p { margin: 0; color: var(--muted); }

.t-newsletter {
  border: 1px solid var(--line);
  padding: 48px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.t-newsletter-inner {
  max-width: 50%;
}

.t-newsletter h2 {
  font-size: 44px;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.t-newsletter p { margin: 0 0 24px; color: var(--muted); max-width: 760px; }
.t-newsletter-form { display: flex; gap: 12px; max-width: 100%; }

.t-newsletter-input {
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 14px;
}

.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  min-height: 48px;
  padding: 0 26px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.t-btn-solid { background: #fff; border-color: #fff; color: #000; }
.t-btn-solid:hover { background: #efefef; }

.t-newsletter-message { margin: 14px 0 0; color: #d0d0d0; font-size: 14px; }

.tavoosi-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}

.tavoosi-footer h4 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
}

.tavoosi-footer p,
.tavoosi-footer li,
.tavoosi-footer a {
  color: var(--muted);
  font-size: 14px;
}

.tavoosi-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t-footer-item { display: flex; gap: 10px; align-items: flex-start; }
.t-footer-icon { color: rgba(255, 255, 255, 0.7); line-height: 1; margin-top: 1px; }
.t-footer-grid { align-items: start; }

.t-copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 1280px) {
  .tavoosi-container { width: min(1360px, calc(100% - 64px)); }
}

@media (max-width: 1024px) {
  .t-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tavoosi-menu { gap: 20px; }
  .tavoosi-menu a { font-size: 16px; }
  .t-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .tavoosi-container { width: min(1280px, calc(100% - 30px)); }
  .tavoosi-header-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tavoosi-menu { flex-wrap: wrap; gap: 10px 16px; }
  .t-grid-2, .t-grid-3, .t-grid-4 { grid-template-columns: 1fr; }
  .t-newsletter { padding: 28px; }
  .t-newsletter-inner { max-width: 100%; }
  .t-newsletter h2 { font-size: 30px; }
  .t-newsletter-form { flex-direction: column; }
  .t-footer-grid { grid-template-columns: 1fr; }
  .tavoosi-logo img { height: 34px; }
  .tavoosi-kicker { margin-bottom: 28px; }
}
