/* Paragraphs & Passages */
    blockquote {
        background: rgba(0, 0, 0, 0.1);
        padding: 15px;
        margin: 1em 0;
        border-radius: 10px;
    }

    .quote {
        border-left: 7px outset black;
        padding: 13px;
        margin-left: 5%;
        width: 90%;
    }

    .hanging {
        padding-left: 36px;
        text-indent: -36px;
    }

    .list-detailed {
        display: grid;
        grid-template-columns: 15% 85%;
        padding-bottom: 1em;
    }



/* Dating */
    .date-posted {
        border: none;
        margin-top: 10px;
    }
    
    .date-posted tr td {
        text-align: left;
        border: none;
        margin: 0;
        padding: 0;
        background: var(--content-background-color);
        padding-bottom: 5px;
    }
    
    .date-posted tr:last-child td {
        padding-bottom: 0;
    }
    
    .date-posted tr td:first-child {
        font-weight: bold;
    }



/* Organization */
    .tableofcontents {
        border: 7px outset black;
        padding: 0 5px;
        width: 33%;
        margin-bottom: 10px;
    }

    .tableofcontents h2,
    .tableofcontents h3 {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .tableofcontents ul li {
        padding-bottom: 5px;
    }

    .tableofcontents ul li:last-child {
        padding-bottom: 0
    }



/* Special Styles */
    .spoiler {
        background-color: gray;
        color: transparent;
        user-select: none;
    }

    .spoiler:hover {
        background-color: inherit;
        color: inherit;
    }



/* Social Media Buttons */
    .social-media-buttons {
        display: flex;
        justify-content: center;
        list-style-type: none;
        padding: 0;
        margin: 0;
        background-color: transparent;
        flex-wrap: wrap;
    }

    .social-media-buttons li {
        margin: 4px;
        display: block;
    }

    .social-media-buttons li img {
        border: 3px outset black;
    }

/* Thumbnails */
    .thumbnail {
        max-width: 100%;
        max-height: auto;
        border: 1px solid black;
        border-radius: 3px;
        margin-top: 5px;
        margin-bottom: 3px;
    }

/* Neocities Button */
    .neocities-buttons {
        display: flex;
        justify-content: center;
        list-style-type: none;
        padding: 0;
        margin: 0;
        background-color: transparent;
        flex-wrap: wrap;
    }

    .neocities-buttons li {
        padding: 4px;
        margin: 4px;
        display: block;
    }

    .neocities-buttons li img {
        border: none;
    }

    .neocities-button-link {
        border: 3px double black;
        background: var(--even-color);
        white-space: nowrap;
        overflow-x: scroll;
        height: 36px;
        margin: 0 auto;
        margin-bottom: 5px;
        width: 100%;
    }


/* Tagging */
    .tags ul {
        list-style-type: none;
        padding-left: 0;
    }

    .tags ul li {
        padding-bottom: 5px;
    }

    .tags ul li:last-child {
        padding-bottom: 0px;
    }

/* Shimmer Effect */
    .shimmer {
        background-image: linear-gradient(
            to right,
            var(--border-color),
            var(--contrast-color) 5%,
            var(--background-color) 15%
        );
        background-clip: text;
        color: transparent;
        background-size: 200%;
        animation: shimmer 4s infinite linear;
        }

        @keyframes shimmer {
        to {
            background-position: -200%;
        }
    }

/* Post Boxes */
    /* Vertical Frame */
        .vertical-posts {
            display: flex;
        }
        
        .vertical-posts > * {
            flex: 1 1 0;
            margin: 0;
        }
        
        .vertical-posts > *:first-child {
            padding-right: 0.75em;
        }
      
        .vertical-posts > *:last-child {
            padding-left: 0.75em;
        }
            
    /* Horizontal Frame */
        .horizontal-posts {
            /* This line is intentianally left blank */
        }
    
    /* Scroll Frame */
        .scroll-posts {
            width: 95%;
            height: fit-content;
            margin: 6px auto;
            display: flex;
            
            white-space: nowrap;    
            overflow-x: scroll;
            overflow-y: hidden;
            
            -webkit-overflow-scrolling: touch;
        }
        
        ::-webkit-scrollbar {
            display: none;
        }
    
    /* No Scroll Frame */
        .no-scroll-posts {
            width: 100%;
            height: fit-content;
            margin: 6px auto;
            
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
        }
    
    /* Posts */
        .vertical-posts .post {
            border: 1px solid black;
            border-radius: 6px;
            margin: 6px;
            background-color: var(--even-color);
            padding: 12px;
            position: relative;
        }
        
        .horizontal-posts .post {
            min-height: 165px;
            border-bottom: 3px solid #a3a3a3;
            padding: 12px 6px;
        }
           
        .horizontal-posts .post:last-child {
            min-height: 165px;
            border-bottom: none;
            padding: 12px 6px;
        }
            
        .scroll-posts .post,
        .no-scroll-posts .post {
            width: 240px;
            height: 135px;
            margin: 0 4px;
            margin-bottom: 100px;
        }
            
        .scroll-posts .post:first-child
        .no-scroll-posts .post:first-child {
            margin-left: 0px;
        }
            
        .scroll-posts .post:last-child
        .no-scroll-posts .post:last-child {
            margin-right: 0px;
        }
            
    /* Post - Thumbnail */
        .vertical-posts .post .thumbnail,
        .horizontal-posts .post .thumbnail,
        .scroll-posts .post .thumbnail,
        .no-scroll-posts .post .thumbnail {
            max-width: 240px;
            max-height: 135px;
            overflow: hidden;
            border: 1px solid black;
            border-radius: 2px;
        }
            
        .vertical-posts .post .thumbnail img,
        .horizontal-posts .post .thumbnail img,
        .scroll-posts .post .thumbnail img,
        .no-scroll-posts .post .thumbnail img {
            max-width: 240px;
            max-height: 135px
        }
            
        .vertical-posts .post .thumbnail {
            position: relative;
            margin: 0 auto;
        }
            
        .horizontal-posts .post .thumbnail {
            position: relative;
            float: left;
        }
            
        .scroll-posts .post .thumbnail,
        .no-scroll-posts .post .thumbnail {
            position: relative;
        }
        
        .no-scroll-posts .post .thumbnail {
          margin-bottom: 0px;
        }
            
    /* Post - Ribbons */
        .thumbnail .ribbon {
            position: absolute;
            width: 150px;
            text-align: center;
            transform: rotate(-45deg);
            line-height: 30px;
            background: linear-gradient(var(--border-color) 0%, var(--contrast-color) 100%);
            color: var(--text-color);
            box-shadow: 0 5px 10px rgba(0,0,0,0.15);
            font-weight: bold;
            border: 1px solid black;
            top: 26px;
            left: -34px;
        }
            
    /* Post - Summary */
        .vertical-posts .post .summary {
            /* Line intentionally left blank */
        }
            
        .horizontal-posts .post .summary {
            position: relative;
            margin-left: 246px;
        }
            
        .post .summary h3 {
            all: revert;
            text-align: center;
            padding-top: 0;
            margin: 0 auto;
        }
    
        .post .summary p {
            margin: 6px;
            text-align: left;
        }
    
        .post .summary a {
            text-decoration: none;
        }
            
    /* "Read More" Button */
        .post .summary .read-more,
        .tags tr td .read-more {
            border: 3px solid black;
            border-style: outset;
            background-color: var(--contrast-color);
            width: fit-content;
            margin: 0 auto;
        }
      
        .read-more a,
        .read-more a:link,
        .read-more a:visited,
        .read-more a:hover,
        .read-more a:active {
            all: revert;
            text-decoration: none;
            color: var(--text-color);
            padding: 8px;
            display: block;
            font-weight: bold;
        }

/* Highlighter */
    ::selection { /* User Highlighting Text */
        background: rgba(0, 0, 0, 0.2);
    }

    .highlight { /* Writer Highlighter - Matches Contrast Color */
        border: transparent;
        background: rgba(155, 232, 216, 0.6);
    }

    .highlight-b { /* Writer Highlighter - Matches Border Color - Use when you need to highlight two separate ideas in the same section */
        border: transparent;
        background:  rgba(120, 193, 243, 0.4);
    }
    
    .highlight-e { /* Writer Highlighter - Deep Red - Use when you need to highlight negatives (mostly inverses in math) */
        border: transparent;
        background:  rgba(188, 44, 75, 0.4);
    }

/* Annotation */
    .annotate {
        position: relative;
        display: inline-block;
        border-bottom: 1px dotted black;
    }
        
    .annotate .annotate-text {
        visibility: hidden;
        width: 360px;
        color: black;
        text-align: left;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        border: 3px solid black;
        bottom: 75%;
        right: 0%;
        margin-left: -60px;
        background-color: white;
        opacity: 0;
        transition: opacity 1s;
    }
        
    .annotate:hover .annotate-text {
        visibility: visible;
        opacity: 1;
    }
        
    .annotate .annotate-text hr {
        align-items: center;
        width: 80%;
    }