@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&family=Quintessential&display=swap');

@font-face {
    font-family: 'Canterbury';
    src: url('../assets/canterbury/Canterbury.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 768px) {

    html {
        padding: 30px;
        font-size: 18px;
        line-height: 1.75;
    }

}

body {
    font-family: 'IM Fell English', serif;
    margin: 0 auto;
    color: #3c3836;
    background-color: #ecf0f1;
}

p {
    margin: 0 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Canterbury', cursive;
}

pre {
    border-color: #970000;
    margin: 0 0 14px;
    border: 1px solid;
    padding: 5px;
    white-space: pre-wrap;
    word-wrap: wrap-all;
    background-color: #f5f5f5;
    border-radius: 3px;
    display: block;
}

blockquote {
    font-family: 'Quintessential', cursive;
    border-left: 3px solid #970000;
    border-bottom: 3px solid #970000;
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 10px;
}

@media (max-width: 767px) {

    blockquote {
        margin: 0px;
    }

}

a {
    font-weight: inherit;
    line-height: inherit;
    color: #970000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.feather {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #970000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.masthead {
    text-align: center;
}

.masthead:after {
    display: block;
    content: '----------------------------------------------------------------';
    margin: 10px 0;
    color: #ccc;
}

.masthead a {
    color: #3a0000;
}

.badges {
    text-align: center;
    list-style: none;
}

.badge {
    display: inline-block;
    margin: auto 5px;
    color: #970000;
}

.title {
    text-align: center;
}

.subtitle {
    text-align: center;
}

.keywords {
    text-align: right;
    max-width: 850px;
    margin: auto;
}

.keyword {
    background-color: #970000;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
    font-style: italic;
}

.footer {
    margin: 80px 0 0;
    text-align: center;
    color: #3c3836;
}

table {
    width: 100%;             /* Occupy full container width */
    table-layout: fixed;     /* Forces columns to respect width definitions */
    border-collapse: collapse; /* Removes gaps between cell borders */
}

.org-right {
    width: 20%;              /* Forces the cell to take half the space */
    white-space: nowrap;     /* Standard replacement for text-wrap: nowrap */
    padding: 1em;            /* Consistent padding (replaces auto) */
    text-align: right;       /* Visual alignment for right-side data */
    box-sizing: border-box;  /* Ensures padding doesn't increase width */
}

.org-left {
    width: 20%;
    padding: 1em;
    /* Use 'pre-line' to preserve your manual breaks but wrap normally otherwise */
    white-space: pre-line; 
    word-break: keep-all; /* Prevents breaking at semicolons */
    vertical-align: top;
    box-sizing: border-box;
}

td {
    border: 2px solid;
    font-size: clamp(10px, 1.5vw, 18px); 
    line-height: 1.2;
}

thead {
    border: 2px solid;
    font-size: clamp(10px, 1.5vw, 18px); 
    line-height: 1.2;
}

.post {
    max-width: 850px;
    margin: auto;
}
