.layout { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 28px; background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 24px; } .gallery { display: flex; flex-direction: column; gap: 10px; max-width: 320px; } .mainImage { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1 / 1; background: var(--card-media-bg); border-radius: var(--radius-sm); border: 1px solid rgba(148, 163, 184, 0.15); overflow: hidden; padding: 0; cursor: zoom-in; transition: box-shadow 0.2s, border-color 0.2s; } .mainImage:hover:not(:disabled) { border-color: rgba(var(--primary-rgb) / 0.35); box-shadow: 0 8px 24px rgba(var(--primary-rgb) / 0.12); } .mainImage:disabled { cursor: default; } .mainImage img { width: 100%; height: 100%; object-fit: contain; padding: 14px; } .draftBadge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: #b45309; background: rgba(251, 191, 36, 0.9); border-radius: 50px; } .thumbnails { display: flex; gap: 8px; flex-wrap: wrap; } .thumb { width: 52px; height: 52px; background: var(--card-media-bg); border: 2px solid rgba(148, 163, 184, 0.2); border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; transition: border-color 0.2s, transform 0.2s; } .thumb:hover { border-color: rgba(var(--primary-rgb) / 0.35); } .thumbActive { border-color: var(--primary); transform: translateY(-1px); } .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; } .details { display: flex; flex-direction: column; gap: 16px; } .categoryChip { align-self: flex-start; padding: 5px 14px; font-size: 12px; font-weight: 500; color: var(--text-secondary); background: rgba(148, 163, 184, 0.15); border-radius: 50px; } .nameEn { font-size: 26px; font-weight: 700; color: var(--text-primary); line-height: 1.25; } .nameFa { font-size: 18px; font-weight: 400; color: var(--text-secondary); text-align: left; } .nameFa:global(.faText) { font-weight: 400; text-align: left; } .summary { font-size: 15px; line-height: 1.6; color: var(--text-secondary); padding-bottom: 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.2); } .description { font-family: var(--font-ui); font-size: 14px; font-weight: 300; /* IRANYekan Light */ line-height: 1.7; color: var(--text-primary); text-align: justify; } .description:global(.faText), .description:global(.faText) :where(*) { font-family: var(--font-ui); font-weight: 300; text-align: justify; } .description p { margin-bottom: 0.75em; font-family: inherit; font-weight: inherit; text-align: inherit; } .description p:last-child { margin-bottom: 0; } .tags { display: flex; flex-wrap: wrap; gap: 8px; } .tag { padding: 5px 12px; font-size: 12px; font-weight: 500; color: var(--primary); background: rgba(var(--primary-rgb) / 0.1); border-radius: 50px; } .status, .error { padding: 16px 0; font-size: 14px; color: var(--text-secondary); } .error { color: #b91c1c; } .backLink { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--primary); } .imagePlaceholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); } @media (max-width: 900px) { .layout { grid-template-columns: 1fr; padding: 20px; } .gallery { max-width: none; } .mainImage { max-width: none; } .nameEn { font-size: 22px; } }