@charset "utf-8";
/* ***********************************************************************
 *
 *  File:   local_news.css
 *
 *  Brief:
 *
 *  Author: Jomar Hønsi, 2010-2025
 *
 * ************************************************************************/

:root {
    --margin-left: 0;
}

/* Intro */
p {
    margin: 0 var(--margin-left) 15px var(--margin-left);
}

/* Table of news items */
table.news {
    margin: 8px 4px;
    border-radius: 6px;
    font-size: 0.9em;
    border-collapse: collapse;
    border: 1px solid rgba(134, 116, 58, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    width: 100%;
}

table.news tr {
    border-bottom: 1px solid rgba(134, 116, 58, 0.12);
    transition: background-color 0.15s ease;
}

table.news tr:last-child {
    border-bottom: none;
}

table.news tr:hover {
    background-color: rgba(134, 116, 58, 0.06);
}

table.news td {
    text-align: left;
    padding: 6px 10px;
    font-size: small;
    vertical-align: top;
}

table.news td:first-child {
    font-size: 11px;
    color: #557;
    width: 10%;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
    padding-left: 14px;
}

table.news td:nth-child(2) {
    width: 13%;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #7a6830;
    white-space: nowrap;
}

/* News entries */
table.news span.nolink {
    color: #888;
    font-size: 9px;
    letter-spacing: 1.2px;
    font-style: italic;
}

table.news span.nolink::before {
    content: " — ";
}

table.news a {
    padding: 0;
    font-weight: 500;
    font-size: 1.05em;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
    transition: opacity 0.15s ease;
}

table.news a:hover {
    opacity: 0.75;
}

table.news a.place {
    color: #360;
}

table.news a.person {
    color: #336;
}

table.news span.person {
    font-size: 11px;
}

table.news a.inst {
    color: #369;
}

table.news a.who {
    color: #8b0000;
}

table.news a.article {
    color: #335099;
}

table.news a.none {
    color: #000;
}