.omo-textasafn-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.omo-textasafn-title {
    margin-bottom: 10px;
}

.omo-textasafn-intro {
    margin-bottom: 25px;
}

.omo-textasafn-search {
    margin-bottom: 24px;
}

.omo-textasafn-search-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.omo-textasafn-search-row input[type="search"] {
    flex: 1 1 320px;
    min-width: 240px;
}

.omo-textasafn-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.omo-textasafn-letters a {
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid rgba(37, 64, 48, 0.15);
    border-radius: 4px;
}

.omo-textasafn-letters a.active {
    background: #254030;
    color: #fff;
}

.omo-textasafn-results-meta {
    margin-bottom: 20px;
}

.omo-textasafn-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.omo-textasafn-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(37, 64, 48, 0.12);
}

.omo-textasafn-item-title {
    margin: 0 0 6px;
}

.omo-textasafn-item-title a {
    text-decoration: none;
}

.omo-textasafn-item-note {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.omo-textasafn-item-excerpt {
    opacity: 0.9;
}

.omo-textasafn-pagination {
    margin-top: 28px;
}

.omo-texti-back {
    margin-bottom: 24px;
}

.omo-texti-entry-title {
    margin-bottom: 8px;
}

.omo-texti-note {
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.8;
}

.omo-texti-body {
    max-width: 760px;
    line-height: 1.8;
}

.omo-texti-body p {
    margin-bottom: 1em;
}

.omo-textasafn-search button {
    background: #254030; /* þinn græni litur */
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.omo-textasafn-search button:hover {
    background: #1b3024;
}

.omo-textasafn-search button {
    background: var(--color-primary, #254030);
}

.omo-random-textar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.omo-random-textar-list li {
    margin-bottom: 8px;
}

.omo-random-textar-list a {
    text-decoration: none;
    color: inherit;
}

.omo-random-textar-list a:hover {
    text-decoration: underline;
}