@import url("blog_public_ux.cc7a7ea06ca9.css");
/* static/css/blog_content.css */
/* REVAQ_BLOG_CONTENT_VERSION_2026_06_17_01 */

.revaq-blog-content {
    direction: rtl;
    text-align: right;
    color: #292524;
    font-size: 1rem;
    line-height: 2.15;
}

.revaq-blog-content > *:first-child {
    margin-top: 0 !important;
}

.revaq-blog-content > *:last-child {
    margin-bottom: 0 !important;
}

.revaq-blog-content p {
    margin: 0 0 1.15rem;
    line-height: 2.15;
    color: #44403c;
}

.revaq-blog-content h2 {
    margin: 2.7rem 0 1.15rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(180, 83, 9, 0.25);
    color: #0c0a09;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-weight: 950;
    line-height: 1.75;
}

.revaq-blog-content h3 {
    margin: 2.1rem 0 0.95rem;
    color: #1c1917;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 900;
    line-height: 1.8;
}

.revaq-blog-content h4 {
    margin: 1.7rem 0 0.8rem;
    color: #292524;
    font-size: 1.1rem;
    font-weight: 850;
    line-height: 1.8;
}

.revaq-blog-content strong,
.revaq-blog-content b {
    color: #111827;
    font-weight: 900;
}

.revaq-blog-content a {
    color: #b45309;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px dashed rgba(180, 83, 9, 0.5);
}

.revaq-blog-content a:hover {
    color: #92400e;
    border-bottom-color: #92400e;
}

.revaq-blog-content ul,
.revaq-blog-content ol {
    margin: 1.2rem 0;
    padding-right: 1.5rem;
    padding-left: 0;
}

.revaq-blog-content li {
    margin: 0.45rem 0;
    line-height: 2.05;
    color: #44403c;
}

.revaq-blog-content li::marker {
    color: #b45309;
    font-weight: 900;
}

.revaq-blog-content blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.25rem 1.4rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(254, 243, 199, 0.55));
    border-right: 5px solid #d97706;
    border-left: 0;
    border-radius: 1.35rem;
    color: #292524;
    box-shadow: 0 12px 32px rgba(120, 53, 15, 0.08);
}

.revaq-blog-content blockquote p {
    margin: 0;
    color: #292524;
    font-weight: 700;
}

.revaq-blog-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 1.5rem;
    border: 1px solid rgba(214, 211, 209, 0.9);
    box-shadow: 0 18px 45px rgba(12, 10, 9, 0.08);
}

.revaq-blog-content hr {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid rgba(214, 211, 209, 0.95);
}

.revaq-blog-content [style*="text-align: center"],
.revaq-blog-content [data-text-align="center"] {
    text-align: center !important;
}

.revaq-blog-content [style*="text-align: left"],
.revaq-blog-content [data-text-align="left"] {
    text-align: left !important;
    direction: ltr !important;
}

.revaq-blog-content [style*="text-align: right"],
.revaq-blog-content [data-text-align="right"] {
    text-align: right !important;
    direction: rtl !important;
}

.revaq-blog-content [style*="text-align: justify"],
.revaq-blog-content [data-text-align="justify"] {
    text-align: justify !important;
}

/* =======================================================
   Heading anchor / scroll behavior
======================================================= */

html {
    scroll-behavior: smooth;
}

.revaq-blog-content h2,
.revaq-blog-content h3,
.revaq-blog-content h4 {
    scroll-margin-top: 110px;
}

.revaq-blog-content h2[id],
.revaq-blog-content h3[id],
.revaq-blog-content h4[id] {
    position: relative;
}
/*===================ID H2 H3====================*/
.revaq-blog-content h2[id]::before,
.revaq-blog-content h3[id]::before {
    content: "#";
    display: inline-block;
    margin-left: 0.45rem;
    color: #d97706;
    font-weight: 900;
    opacity: 0.65;
}
/* حذف علامت # کنار تیترها؛ IDها برای TOC باقی می‌مانند */
.revaq-blog-content h2[id]::before,
.revaq-blog-content h3[id]::before {
    content: none !important;
    display: none !important;
}

/* =======================================================
   Revaq Callout blocks in public blog content
======================================================= */

.revaq-blog-content .revaq-callout {
    position: relative;
    margin: 2rem 0;
    padding: 1.25rem 1.4rem;

    border-radius: 1.35rem;
    border: 1px solid rgba(214, 211, 209, 0.9);
    border-right-width: 5px;

    background: #ffffff;
    box-shadow: 0 18px 45px rgba(12, 10, 9, 0.06);
}

.revaq-blog-content .revaq-callout::before {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.28rem 0.75rem;

    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1.8;
}

.revaq-blog-content .revaq-callout p {
    margin: 0;
    color: #292524;
    font-weight: 700;
    line-height: 2.05;
}

.revaq-blog-content .revaq-callout--tip {
    border-right-color: #d97706;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.11), #ffffff);
}

.revaq-blog-content .revaq-callout--tip::before {
    content: "نکته مهم";
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
}

.revaq-blog-content .revaq-callout--warning {
    border-right-color: #dc2626;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.09), #ffffff);
}

.revaq-blog-content .revaq-callout--warning::before {
    content: "هشدار";
    background: rgba(239, 68, 68, 0.13);
    color: #991b1b;
}

.revaq-blog-content .revaq-callout--buy {
    border-right-color: #16a34a;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.09), #ffffff);
}

.revaq-blog-content .revaq-callout--buy::before {
    content: "پیشنهاد خرید رواق";
    background: rgba(34, 197, 94, 0.13);
    color: #166534;
}

.revaq-blog-content .revaq-callout--gemstone {
    border-right-color: #0891b2;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.09), #ffffff);
}

.revaq-blog-content .revaq-callout--gemstone::before {
    content: "نکته سنگ‌شناسی";
    background: rgba(6, 182, 212, 0.13);
    color: #155e75;
}

/* =======================================================
   Product card block in public blog content
======================================================= */

.revaq-blog-content .revaq-product-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.25rem;

    margin: 2.2rem 0;
    padding: 1rem;

    border: 1px solid rgba(214, 211, 209, 0.95);
    border-radius: 1.75rem;

    background:
        linear-gradient(135deg, rgba(250, 250, 249, 0.95), #ffffff);

    box-shadow: 0 22px 55px rgba(12, 10, 9, 0.08);
}

.revaq-blog-content .revaq-product-card__media {
    display: block;
    overflow: hidden;

    min-height: 180px;
    border-radius: 1.35rem;
    background: #f5f5f4;
    border: 1px solid rgba(214, 211, 209, 0.85);
}

.revaq-blog-content .revaq-product-card__media img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.revaq-blog-content .revaq-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;
    min-height: 180px;

    color: #78716c;
    font-weight: 900;
}

.revaq-blog-content .revaq-product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.35rem 0.25rem;
}

.revaq-blog-content .revaq-product-card__eyebrow {
    width: fit-content;
    margin-bottom: 0.6rem;
    padding: 0.28rem 0.75rem;

    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);

    color: #166534;
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1.8;
}

.revaq-blog-content .revaq-product-card__title {
    margin: 0;
    padding: 0;
    border: 0;

    color: #0c0a09;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 950;
    line-height: 1.8;
}

.revaq-blog-content .revaq-product-card__title a {
    color: inherit;
    border-bottom: 0;
}

.revaq-blog-content .revaq-product-card__title a:hover {
    color: #b45309;
}

.revaq-blog-content .revaq-product-card__category {
    margin: 0.35rem 0 0;
    color: #78716c;
    font-size: 0.9rem;
    line-height: 1.9;
}

.revaq-blog-content .revaq-product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;

    margin-top: 1.25rem;
}

.revaq-blog-content .revaq-product-card__price {
    margin: 0;
    color: #166534;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.8;
}

.revaq-blog-content .revaq-product-card__status {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.8;
}

.revaq-blog-content .revaq-product-card__status--available {
    color: #15803d;
}

.revaq-blog-content .revaq-product-card__status--unavailable {
    color: #b91c1c;
}

.revaq-blog-content .revaq-product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 128px;
    padding: 0.75rem 1rem;

    border-radius: 999px;
    border: 0;

    background: #0c0a09;
    color: #ffffff !important;

    font-size: 0.88rem;
    font-weight: 950;
    line-height: 1.8;

    box-shadow: 0 14px 32px rgba(12, 10, 9, 0.18);
}

.revaq-blog-content .revaq-product-card__cta:hover {
    background: #b45309;
    color: #ffffff !important;
}

.revaq-blog-content .revaq-product-card--missing {
    display: block;
    padding: 1.2rem 1.4rem;
    border-right: 5px solid #dc2626;
    background: rgba(239, 68, 68, 0.08);
}

.revaq-blog-content .revaq-product-card--missing p {
    margin: 0;
    color: #991b1b;
    font-weight: 900;
}

@media (max-width: 768px) {
    .revaq-blog-content .revaq-product-card {
        grid-template-columns: 1fr;
        padding: 0.85rem;
    }

    .revaq-blog-content .revaq-product-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .revaq-blog-content .revaq-product-card__cta {
        width: 100%;
    }
}

/* =======================================================
   Category CTA block in public blog content
======================================================= */

.revaq-blog-content .revaq-category-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    margin: 2.2rem 0;
    padding: 1.35rem 1.5rem;

    border-radius: 1.75rem;
    border: 1px solid rgba(186, 230, 253, 0.9);
    border-right: 6px solid #0284c7;

    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 34%),
        linear-gradient(135deg, #f0f9ff, #ffffff);

    box-shadow: 0 22px 55px rgba(12, 10, 9, 0.07);
}

.revaq-blog-content .revaq-category-cta__content {
    min-width: 0;
}

.revaq-blog-content .revaq-category-cta__eyebrow {
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.75rem;

    border-radius: 999px;
    background: rgba(14, 165, 233, 0.13);

    color: #075985;
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1.8;
}

.revaq-blog-content .revaq-category-cta__title {
    margin: 0;
    padding: 0;
    border: 0;

    color: #0c0a09;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-weight: 950;
    line-height: 1.8;
}

.revaq-blog-content .revaq-category-cta__text {
    margin: 0.35rem 0 0;
    color: #57534e;
    font-size: 0.95rem;
    line-height: 2;
}

.revaq-blog-content .revaq-category-cta__button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    padding: 0.8rem 1.1rem;

    border-radius: 999px;
    border: 0;

    background: #0c4a6e;
    color: #ffffff !important;

    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1.8;

    box-shadow: 0 14px 32px rgba(2, 132, 199, 0.2);
}

.revaq-blog-content .revaq-category-cta__button:hover {
    background: #b45309;
    color: #ffffff !important;
}

.revaq-blog-content .revaq-category-cta--missing {
    display: block;
    padding: 1.2rem 1.4rem;
    border-right: 5px solid #dc2626;
    background: rgba(239, 68, 68, 0.08);
}

.revaq-blog-content .revaq-category-cta--missing p {
    margin: 0;
    color: #991b1b;
    font-weight: 900;
}

@media (max-width: 768px) {
    .revaq-blog-content .revaq-category-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .revaq-blog-content .revaq-category-cta__button {
        width: 100%;
    }
}
