/*//////////////////////////////////////////////////////////
WordPress The Content
/////////////////////////////////////////////////////////*/

.wp_the_content p,
.wp_the_content ul,
.wp_the_content ol,
.wp_the_content blockquote {
    margin-bottom: 1.5em;
}

.wp_the_content h1,
.wp_the_content h2,
.wp_the_content h3,
.wp_the_content h4,
.wp_the_content h5,
.wp_the_content h6 {
    margin-bottom: .8em;
}

.wp_the_content p,
.wp_the_content li {
    line-height: 1.5;
}

.wp_the_content li {
    margin-bottom: .25em;
}

.wp_the_content > p:first-child:first-letter {
    initial-letter: 2;
    -webkit-initial-letter: 2;
    font-weight: 800;
    padding-right: .25em;
}

.wp_the_content p a {
    font-weight: 600;
    color: var(--secondary);
}

.wp_the_content strong {
    color: var(--gray-2);
}

.wp_the_content blockquote {
    padding: 0 1em;
    border-radius: .5em;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: .5em solid var(--secondary);
}

.wp_the_content blockquote a {
    color: var(--gray-2);
}

.wp_the_content blockquote p {
    margin: 0;
    line-height: 1.5;
}

.wp_the_content blockquote cite {
    color: var(--light);
    margin-top: 1em;
    font-size: var(--text-s);
}

.wp_the_content pre {
    position: relative;
    background: var(--primary);
    color: var(--gray-8);
    font-size: var(--text-x2s);
    padding: 1.5em;
    margin-bottom: 1.5em;
    border-radius: .5em;
}

.wp_the_content pre:before {
    display: inline-block;
    content: "CODE";
    position: absolute;
    top: -1em;
    left: 1.5em;
    padding: .2em .6em;
    background: var(--danger);
    color: var(--light);
    border-radius: .5em;
    font-weight: 500;
    font-size: var(--text-x4s);
}

.wp_the_content p code {
    background: var(--primary);
    color: var(--gray-8);
    padding: .2em .5em;
    border-radius: .25em;
    font-size: var(--text-s);
}

.wp_the_content figure {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp_the_content img {
    border-radius: .5em;
}

.wp_the_content .alignleft {
    text-align: left;
}

.wp_the_content .aligncenter {
    text-align: center;
    margin: 0 auto;
}

.wp_the_content .alignright {
    text-align: right;
}

.wp_the_content figcaption {
    margin-top: 1em;
    margin-bottom: 0;
    font-size: var(--text-xs);
    text-align: center;
    color: var(--gray-6);
}

.wp_the_content table {
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
}

.wp_the_content table thead {
    border-bottom: 3px solid var(--dark-2);
}

.wp_the_content table th {
    border: none;
}

.wp_the_content table td {
    font-size: var(--text-s);
    padding: .8em 1em;
    border: none;
    border-bottom: 1px solid var(--gray-9);
}

@media (max-width: 420px) {
    .wp_the_content p,
    .wp_the_content li {
        font-size: .95rem;
    }
}


/*//////////////////////////////////////////////////////////
WordPress Comments
/////////////////////////////////////////////////////////*/

.single-comments ol {
    list-style-type: none;
    margin: 0 0 2.5em 0;
    padding: 0;
}

.single-comments ol ol {
    padding-left: 2em;
}

.comments-list li ol {
    list-style-type: none;
}

.comment-body {
    padding: .5em 0;
    margin-bottom: .5em;
}

.comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: .5em;
}

.comment-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5em;
}

.comment-author img {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    object-fit: cover;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    font-size: var(--text-x3s);
    color: var(--gray-4);
}

.comment-content {
    color: var(--gray-4);
    padding-left: calc(30px + .5em)
}

.comment-reply-link {
    font-size: var(--text-s);
    color: var(--gray-4);
    padding-left: calc(30px + .5em)
}

/*///// Comment form /////*/

.comment-respond {
    padding: 2em;
    background: #f4f4f4;
    border-radius: .5em;
}

.comment-reply-title {
    font-size: var(--text-m);
}

.comment-reply-title small {
    display: inline-block;
    margin-left: .5em;
    color: var(--danger);
    font-size: var(--text-xs);
}

.comment-notes,
.logged-in-as {
    color: var(--gray-4);
    font-size: var(--text-s);
}

.logged-in-as a {
    font-weight: 600;
    text-decoration: underline;
}

.comment-form label {
    display: block;
    color: var(--gray-4);
    font-size: var(--text-s);
    margin-bottom: .5em;
}

.comment-form textarea,
.comment-form input:where([type=text], [type=email], [type=url]) {
    display: block;
    width: 100%;
    padding: .5em 1em;
    border: 1px solid var(--gray-8);
    border-radius: .5em;
}

.comment-form textarea:focus,
.comment-form input:focus:where([type=text], [type=email], [type=url]) {
    outline: 2px solid var(--primary);
}

.comment-form-author {
    display: table-cell;
    width: 50%;
    padding-right: .5em;
}

.comment-form-email {
    display: table-cell;
    width: 50%;
    padding-left: .5em;
}

.comment-form-url {
    display: none;
    margin-top: 1em;
}

.comment-form-cookies-consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .5em;
    margin-top: 1em;
    margin-bottom: .5em;
}

.comment-form-cookies-consent input {
    margin-top: .25em;
}

.form-submit {
    margin-bottom: 0;
}

.form-submit input[type=submit] {
    display: inline-block;
    padding: .75em 1em;
    width: 100%;
    background: var(--primary);
    color: var(--light);
    border-radius: .5em;
    font-size: var(--text-xs);
}




.page-links-number > a,
.page-links-number > span {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: var(--text-xs);
    text-align: center;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
}

.page-links-number > a {
    background: #f4f4f4;
}

.page-links-number > span,
.page-links-number > a:hover {
    background: var(--primary);
    color: var(--light);
}