/**
 * Unified Viewer Styles - תצוגה משולבת
 * עיצוב לעמוד אחד עם כל הפונקציונליות
 */

/* === Container ראשי === */
.otzar-unified-viewer {
    max-width: 100%;
    margin: 0;
    font-family: 'Vilna', 'Frank Ruehl CLM', 'Frank Ruehl', 'Arial', 'Times New Roman', serif;
    direction: rtl;
    padding: 0;
}

/* === הגנה - מניעת העתקה === */
.otzar-shulchan-content,
.otzar-otzar-content {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* המילים הלחיצות - עיצוב כקישור */
.clickable-word {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: #0066cc;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 1px 2px;
    border-radius: 2px;
}

.clickable-word:hover {
    color: #004499;
    background-color: rgba(0, 102, 204, 0.1);
    text-decoration-style: solid;
}

.clickable-word.active {
    color: #ffffff;
    background-color: #0066cc;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

/* === סרגל כלים עליון === */
.otzar-toolbar {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%) !important;
    padding: 8px 20px;
    padding-bottom: 4px;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}

/* ודא שכל הטקסט והאייקונים בטולבר גלויים */
.otzar-toolbar button,
.otzar-toolbar .otzar-view-btn,
.otzar-toolbar .otzar-font-btn,
.otzar-toolbar .otzar-expand-btn {
    color: white !important;
}

.otzar-toolbar input {
    color: #2C1810 !important;
}

.otzar-toolbar select {
    color: #2C1810 !important;
}

.otzar-search-icon {
    color: #8B4513 !important;
}

/* === חיפוש === */
.otzar-search-box {
    flex: 1.5;
    min-width: 260px;
    position: relative;
    margin: 0 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.otzar-search-input-wrapper {
    position: relative;
    flex: 1 1 auto;
    max-width: 460px;
}

.otzar-search-box input {
    width: 100%;
    padding: 7px 36px 7px 14px;
    border: 2px solid #D4AF37;
    border-radius: 25px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.otzar-search-box input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.otzar-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B4513;
    font-size: 18px;
}

.otzar-search-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    margin-top: 0;
    font-size: 12px;
    color: #FFEFD5;
}

.otzar-search-meta-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.otzar-search-arrows {
    display: flex;
    gap: 4px;
}

.otzar-search-count {
    min-width: 60px;
    text-align: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    color: #FFF8E1;
}

.otzar-search-count.has-results {
    background: rgba(255, 215, 0, 0.35);
    color: #FFFFFF;
    font-weight: bold;
}

.otzar-search-nav {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    border-radius: 999px;
    width: 26px;
    height: 24px;
    line-height: 1;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.otzar-search-nav:hover {
    background: rgba(255, 255, 255, 0.35);
}

.otzar-search-filter {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #FFEFD5;
}

.otzar-search-filter-label {
    opacity: 0.9;
    display: none; /* נחסוך מקום, המלל מיותר */
}

.otzar-search-filter-option {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.otzar-search-filter-option input[type="radio"] {
    margin: 0;
}

/* === Navigation Dropdowns === */
.otzar-navigation {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.otzar-dropdown {
    position: relative;
}

.otzar-dropdown select {
    padding: 8px 30px 8px 12px;
    border: 2px solid #D4AF37;
    border-radius: 5px;
    background: white;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%238B4513" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 10px center;
    text-align: right;
    direction: rtl;
    padding-right: 12px;
    padding-left: 30px;
}

.otzar-dropdown select:hover {
    border-color: #FFD700;
    background-color: #FFF9E6;
}

.otzar-go-button {
    padding: 8px 20px;
    background: #D4AF37;
    color: #2C1810 !important;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.otzar-go-button:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* === כפתורי תצוגה === */
.otzar-view-controls {
    display: flex;
    gap: 10px;
    margin-right: auto;
    margin: 0 10px;
}

.otzar-view-btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.otzar-view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFD700;
}

.otzar-view-btn.active {
    background: #FFD700;
    color: #2C1810 !important;
    border-color: #FFD700;
}

.otzar-view-btn.active span {
    color: #2C1810 !important;
}

/* === כפתורי הגדלת טקסט === */
.otzar-font-controls {
    display: flex;
    gap: 5px;
}

.otzar-font-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    min-width: 34px;
    line-height: 1.2;
}

.otzar-font-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFD700;
    transform: scale(1.1);
}

/* === אזור תוכן ראשי === */
.otzar-content-wrapper {
    background: #FAF8F3;
    border: none;
    border-radius: 0;
    overflow: visible;
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 10px 20px !important;
}

/* במצב "זה מעל זה" נבטל את הרווח העליון כדי שהסרגל של השולחן ערוך ייצמד לטולבר */
.otzar-unified-viewer.otzar-layout-stacked .otzar-content-wrapper {
    padding-top: 0 !important;
}

/* === Layout: זה ליד זה === */
.otzar-content-wrapper.otzar-layout-side-by-side {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

/* === Layout: זה מעל זה === */
.otzar-content-wrapper.otzar-layout-stacked {
    display: block;
}

.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-shulchan,
.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-otzar {
    position: relative;
    padding-right: 36px; /* מקום לתווית אנכית */
}

/* === פאנל כללי === */
.otzar-panel {
    margin: 0 !important;
}

/* === פאנל שולחן ערוך === */
.otzar-panel-shulchan {
    background: #FFFEF9;
    border-left: 3px solid #D4AF37;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    position: relative;
    top: 0;
    margin: 0 !important;
}

.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-shulchan {
    border-left: none;
    border-bottom: 3px solid #D4AF37;
    height: 25vh;
    max-height: 25vh;
    overflow-y: hidden;
}

/* === פאנל אוצר הפוסקים === */
.otzar-panel-otzar {
    background: #FFF9E6;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    position: relative;
    top: 0;
    margin: 0 !important;
}

.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-otzar {
    height: 75vh;
    max-height: 75vh;
    overflow-y: hidden;
}

/* במצב "זה מעל זה" הגלילה תהיה בתוך התוכן הפנימי, כדי שהתוויות האנכיות יישארו קבועות */
.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-shulchan .otzar-panel-content,
.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-otzar .otzar-panel-content {
    height: 100%;
    overflow-y: auto;
}

/* תוויות אנכיות בצד ימין של כל פאנל במצב "זה מעל זה" */
.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-shulchan::before,
.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-otzar::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 26px;
    background: linear-gradient(180deg, #8B4513 0%, #A0522D 100%);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-shulchan::before {
    content: 'שולחן ערוך';
}

.otzar-unified-viewer.otzar-layout-stacked .otzar-panel-otzar::before {
    content: 'אוצר הפוסקים';
}

/* === Toolbar (גרסת צל) === */
.otzar-toolbar {
    background: linear-gradient(135deg, #2C5F2D 0%, #97BC62 100%);
    padding: 15px 20px;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    margin: 0 !important;
}

/* === כותרת פאנל === */
.otzar-panel-header {
    position: sticky;
    top: 48px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 4px 20px;
    padding-top: 4px;
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: none;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* במצב "זה מעל זה" הכותרת הפנימית תהיה דקה, ללא טקסט מאוזן, ורק בשו"ע דביקה מתחת לטולבר */
body .otzar-unified-viewer.otzar-layout-stacked .otzar-panel-header {
    position: relative !important;
    top: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* שו"ע – הסרגל דביק מתחת לטולבר העליון */
body .otzar-unified-viewer.otzar-layout-stacked .otzar-panel-shulchan .otzar-panel-header {
    position: relative !important;
    top: 0 !important;
}

body .otzar-unified-viewer.otzar-layout-stacked .otzar-panel-header .otzar-panel-title {
    display: none !important;
}

.otzar-panel-title {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.otzar-panel-controls {
    display: flex;
    gap: 8px;
}

.otzar-expand-btn,
.otzar-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    margin: 0 5px;
}

.otzar-expand-btn:hover,
.otzar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFD700;
}

.otzar-nav-btn {
    font-weight: bold;
}

.otzar-nav-prev {
    margin-right: 15px;
}

/* === תוכן פאנל === */
.otzar-panel-content {
    padding: 20px;
    padding-top: 0;
    line-height: 1.8;
}

.otzar-layout-side-by-side .otzar-panel-content {
    padding-bottom: 0;
}

.otzar-layout-side-by-side .otzar-panel-content .shulchan-seif:last-child,
.otzar-layout-side-by-side .otzar-panel-content .otzar-entry:last-child {
    margin-bottom: 0;
}

/* === מצב הגדלה === */
.otzar-panel-expanded {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 9999;
    border: none !important;
    border-radius: 0 !important;
}

.otzar-panel-expanded .otzar-panel-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* === סעיף בשולחן ערוך === */
.shulchan-seif {
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-right: 4px solid #8B4513;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.shulchan-seif:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateX(-3px);
}

.shulchan-seif-number {
    display: inline-block;
    background: #8B4513;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 14px;
    margin-left: 10px;
}

.shulchan-seif-text {
    font-size: 17px;
    line-height: 1.9;
    color: #2C1810;
    margin-top: 10px;
    text-align: justify;
}

/* === מילה ניתנת ללחיצה === */
.clickable-word {
    color: #1E90FF;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: all 0.2s;
}

.clickable-word:hover {
    color: #FF6B35;
    text-decoration-style: solid;
    background: rgba(255, 215, 0, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

/* === ערך באוצר הפוסקים === */
.otzar-entry {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-right: 4px solid #D4AF37;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.otzar-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E8DCC4;
}

.otzar-entry-location {
    font-weight: bold;
    color: #8B4513;
    font-size: 15px;
}

.otzar-entry-ot {
    background: #D4AF37;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 13px;
}

.otzar-entry-text {
    font-size: 16px;
    line-height: 1.8;
    color: #2C1810;
    text-align: justify;
}

.otzar-text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2C1810;
    text-align: justify;
}

/* === מצב ריק === */
.otzar-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8B7355;
}

.otzar-empty-state .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.otzar-empty-state p {
    font-size: 16px;
    line-height: 1.6;
}

/* === Loading === */
.otzar-loading {
    text-align: center;
    padding: 40px;
    color: #8B4513;
}

.otzar-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #E8DCC4;
    border-top-color: #8B4513;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === Highlights === */
.otzar-highlight {
    background: linear-gradient(120deg, #FFD700 0%, #FFA500 100%);
    padding: 2px 5px;
    border-radius: 3px;
    animation: highlight-pulse 2s ease-in-out;
}

.otzar-entry-highlight {
	background: linear-gradient(90deg, rgba(255, 253, 235, 0.9), rgba(255, 253, 235, 0.2)) !important;
	border: 2px solid #FFCA28 !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* תוצאות חיפוש – הדגשת סעיפים וערכים שבהם נמצאו התאמות */
.otzar-search-result {
    box-shadow: 0 0 0 2px rgba(255, 202, 40, 0.6);
    border-radius: 4px;
}

/* התאמה נוכחית בחיפוש (Enter נוסף מדפדף בין ההתאמות) */
.otzar-search-hit-current {
    outline: 2px solid #D32F2F;
    outline-offset: 2px;
}

@keyframes highlight-pulse {
    0%, 100% { background: #FFD700; }
    50% { background: #FFA500; }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .otzar-layout-side-by-side {
        grid-template-columns: 1fr;
    }
    
    .otzar-panel-shulchan {
        border-left: none;
        border-bottom: 3px solid #D4AF37;
    }
}

@media (max-width: 768px) {
    .otzar-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .otzar-navigation {
        width: 100%;
        justify-content: center;
    }
    
    .otzar-view-controls {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
    
    .otzar-panel-content {
        padding: 15px;
    }
}

/* === Footnote Modal === */
.footnote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footnote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.footnote-modal-content {
    position: relative;
    background: #FFFDF5; /* רקע בהיר כמו חלון אוצה"פ */
    padding: 0;
    border-radius: 8px;
    border: 2px solid #F2C165; /* מסגרת זהובה */
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden; /* הגלילה תהיה בתוך תוכן ההערה */
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000002;
}

.footnote-modal-close {
    position: absolute;
    top: 8px;
    left: 8px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
    padding: 4px 8px;
    line-height: 1;
}

.footnote-modal-close:hover {
    color: #333;
}

.footnote-modal h3 {
    margin: 0;
    padding: 10px 20px;
    background: #F5F5F5; /* פס עליון בהיר */
    border-bottom: 1px solid #F2C165;
    color: #8B4513;
    font-size: 18px;
    font-weight: bold;
    font-family: 'vilna', 'Vilna', 'Times New Roman', serif;
}

.footnote-modal-text {
    padding: 20px;
    background: #FFF9E6; /* רקע פנימי קרם כמו אוצה"פ */
    line-height: 1.8;
    font-size: 16px;
    font-family: 'frank', 'Frank Ruehl', 'Arial', 'Times New Roman', serif;
    text-align: justify;
    direction: rtl;
    max-height: 60vh; /* גלילה פנימית להערות ארוכות */
    overflow-y: auto;
}

/* === Print Styles === */
@media print {
    .otzar-toolbar,
    .otzar-panel-header,
    .otzar-expand-btn,
    .footnote-modal {
        display: none !important;
    }
    
    .otzar-panel-shulchan,
    .otzar-panel-otzar {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* === גופנים מותאמים === */
.font-vilna {
    font-family: 'Vilna', 'Times New Roman', serif;
}

.font-rashi {
    font-family: 'Rashi', 'Times New Roman', serif;
    font-size: 0.9em;
}

.font-frank {
    font-family: 'Frank Ruehl CLM', 'Times New Roman', serif;
}

.font-hadassa {
    font-family: 'Hadassa', 'Arial', sans-serif;
}

/* === הדגשת ערך נבחר באוצר הפוסקים === */
.otzar-entry-wrapper {
    margin-bottom: 20px;
}

.otzar-entry {
    padding: 15px;
    margin-bottom: 10px;
    border-right: 3px solid transparent;
    transition: all 0.3s ease;
}

.otzar-entry-highlight {
	scroll-margin-top: 20px;
}

.otzar-entry:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Header לכל ערך */
.otzar-entry-header {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.otzar-entry-location {
    font-weight: bold;
    color: #1976D2;
}

.otzar-entry-word {
    color: #388E3C;
    font-weight: 600;
}

.otzar-entry-ot {
    margin-right: auto;
    background: #2196F3;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* רווחים בין ערכים */
.otzar-entry-wrapper + .otzar-entry-wrapper {
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

/* הסתרת פוטר התבנית מתחת לתצוגה המשולבת כדי לבטל את המלבן הלבן בתחתית העמוד */
.otzar-unified-viewer ~ footer,
.otzar-unified-viewer ~ .site-footer,
.otzar-unified-viewer ~ #colophon {
    display: none !important;
}

/* === נספח === */
.otzar-appendix-wrapper {
    background: #FFFDF5;
    border-right: 4px solid #D4AF37;
    padding: 16px 16px 16px 12px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}

.otzar-appendix-wrapper + .otzar-appendix-wrapper {
    border-top: 1px solid #e8d9a0;
}

.otzar-appendix-content p {
    margin: 0 0 1em 0;
    line-height: 1.8;
}

.otzar-appendix-content p:last-child {
    margin-bottom: 0;
}

.otzar-appendix-content h1,
.otzar-appendix-content h2,
.otzar-appendix-content h3,
.otzar-appendix-content h4 {
    margin: 1.2em 0 0.5em 0;
    font-weight: bold;
    line-height: 1.4;
}

.otzar-appendix-content h1 { font-size: 1.4em; }
.otzar-appendix-content h2 { font-size: 1.3em; }
.otzar-appendix-content h3 { font-size: 1.15em; }

.otzar-appendix-content ul,
.otzar-appendix-content ol {
    margin: 0.5em 0 1em 0;
    padding-right: 1.5em;
}

.otzar-appendix-content li {
    margin-bottom: 0.4em;
    line-height: 1.7;
}

.otzar-appendix-content blockquote {
    border-right: 3px solid #D4AF37;
    margin: 1em 0;
    padding: 6px 12px;
    color: #555;
}

.otzar-appendix-title {
    color: #5a3a00;
}

.otzar-appendix-header .otzar-entry-location {
    color: #8B6914;
    font-style: italic;
}
