﻿.semantic-page{direction:rtl;padding:2rem 0 4rem}.semantic-hero{max-width:950px;margin:0 auto 1.2rem;text-align:center;padding:2rem;border:1px solid rgba(127,127,127,.18);border-radius:1.4rem;background:var(--bs-body-bg,#fff);box-shadow:0 14px 38px rgba(0,0,0,.05)}.semantic-hero>span{font-size:.8rem;font-weight:800;color:#987526}.semantic-hero h1{margin:.35rem 0 .7rem}.semantic-hero p{max-width:760px;margin:0 auto 1rem;line-height:1.9;opacity:.72}.semantic-search-box{display:grid;grid-template-columns:1fr auto;gap:.55rem;max-width:820px;margin:0 auto}.semantic-query{min-height:54px;border:1px solid rgba(127,127,127,.27);border-radius:.9rem;background:inherit;color:inherit;padding:.7rem 1rem;font-size:1rem}.semantic-search-button{border:0;border-radius:.9rem;padding:.7rem 1.25rem;background:#173f35;color:#fff;font-weight:800}.semantic-examples{display:flex;justify-content:center;gap:.45rem;flex-wrap:wrap;margin-top:.85rem}.semantic-examples button{border:1px solid rgba(152,117,38,.22);border-radius:999px;background:rgba(152,117,38,.055);color:inherit;padding:.38rem .65rem;font-size:.75rem;cursor:pointer}.semantic-result-header{max-width:950px;margin:0 auto .8rem}.semantic-result-header strong,.semantic-result-header span{display:block}.semantic-result-header span{font-size:.78rem;opacity:.65;margin-top:.2rem}.semantic-result-card{max-width:950px;margin:0 auto .8rem;padding:1rem 1.1rem;border:1px solid rgba(127,127,127,.18);border-radius:1rem;background:var(--bs-body-bg,#fff);box-shadow:0 8px 24px rgba(0,0,0,.035)}.semantic-result-top{display:flex;justify-content:space-between;gap:1rem;align-items:center}.semantic-result-top span,.semantic-score span{display:block;font-size:.75rem;opacity:.65}.semantic-score{text-align:left}.semantic-score strong{color:#987526}.semantic-quran-text{font-family:"HafsSmart_08","Amiri Quran","Traditional Arabic",serif;font-size:1.7rem;line-height:2.15;text-align:right;margin:.8rem 0}.semantic-result-actions a{display:inline-block;text-decoration:none;border:1px solid rgba(127,127,127,.23);border-radius:.65rem;padding:.4rem .65rem;color:inherit;font-size:.78rem;font-weight:700}.semantic-message{max-width:950px;margin:0 auto 1rem;padding:.85rem 1rem;border-radius:.85rem}.semantic-message-error{background:rgba(180,35,24,.08);border:1px solid rgba(180,35,24,.2);color:#b42318}@media(max-width:700px){.semantic-search-box{grid-template-columns:1fr}.semantic-hero{padding:1.2rem}.semantic-result-top{align-items:flex-start}}


/* Step 26.3 - KFGQPC/Hafs Smart rendering for semantic search results */
.semantic-quran-text {
    font-family: "HafsSmart_08", "HafsSmart08", "KFGQPC Hafs Smart", serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-synthesis: none;
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}

.semantic-result-card .semantic-quran-text * {
    font-family: inherit !important;
}
