/* ===============================
   Base Reset & Global Typography
=============================== */
* {
    margin: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: "Inter", Arial, sans-serif;
    /* replace for $body-font */
    vertical-align: baseline;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WordPress Core
===================*/
.blog-area article.grid-item {
    width: 100%;
}

.blog-area .text-post-content {
    color: #7f848e;
}

body {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
}

dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 20px;
}

ol {
    padding-left: 20px;
}

ul {
    list-style: disc;
    padding-left: 20px;
}

/* Protected Post Type */
.post-password-form label {
    width: 100%;
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-password-form input[type="password"] {
    font-size: 1.2rem;
    line-height: 20px;
    padding: 12px 20px;
    border: 1px solid #E4E4F2;
    width: 100%;
}

.post-password-form input[type="submit"] {
    background-color: #222222;
    border: none;
    padding: 10px 40px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.post-password-form input[type="submit"]:hover {
    background-color: #000000;
}

/* Table */
table {
    margin-bottom: 20px;
    width: 100%;
}

table caption {
    border: 1px solid #dfe2e9;
    padding: 6px 10px;
    border-top: 0;
}

table th,
table td {
    background-color: transparent;
    border: 1px solid #dfe2e9;
    text-align: center;
    padding: 8px;
    transition: 0.3s;
}

table th#today,
table td#today {
    background: #222222;
    color: #ffffff;
}

table th#today a,
table td#today a {
    color: #ffffff;
}

/* Page Content Unit Test */
.tp-page-content .size-full.alignright {
    margin-bottom: 15px;
    margin-top: 20px;
}

.tp-page-content figure.wp-caption.aligncenter {
    margin-top: 40px;
}

.tp-page-content dl,
.tp-page-content ol,
.tp-page-content ul {
    margin-bottom: 11px;
}

.tp-page-content .te-comment-respond {
    margin-top: 78px;
    margin-bottom: 20px;
}

.tp-page-content .te-latest-comments .te-comment-respond {
    margin-bottom: 40px;
}

.tp-page-content .te-post-comments {
    margin-top: 80px;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Caption */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
    font-size: 14px;
    font-style: italic;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries */
.gallery {
    margin-bottom: 10px;
}

.gallery-item {
    display: inline-block;
    max-width: 33.33%;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding-right: 5px !important;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

.size-thumbnail {
    margin-bottom: 20px;
}

img.emoji {
    width: 15px;
    height: 15px;
}

/* Alignments */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em !important;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em !important;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

/* Blockquote */
blockquote {
    overflow: hidden;
    padding: 30px !important;
    margin: 30px 0;
    background-color: #f2f2f2;
    position: relative;
    z-index: 1;
}

blockquote p {
    font-size: 20px;
    color: #000000;
    line-height: 32px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

blockquote p a {
    color: #222222;
    text-decoration: underline;
}

blockquote footer {
    font-size: 16px;
    font-weight: 900;
    text-transform: capitalize;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 20px;
}

.wp-block-quote,
blockquote {
    border-left: solid 5px #222222;
}

.wp-block-pullquote {
    border-top: 5px solid #222222 !important;
    border-bottom: 5px solid #222222 !important;
    background-color: #eef5f8;
}

.wp-block-quote__citation,
.wp-block-quote cite,
.wp-block-quote footer {
    margin-top: 10px;
    display: block;
}

/* Form Inputs */
input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    width: 22px !important;
    height: 22px !important;
    border: 1px solid rgb(223, 226, 233);
    border-radius: 3px !important;
    background-color: transparent !important;
    transition: 0.3s;
    position: relative !important;
    cursor: pointer;
    display: flex;
    align-self: center;
    flex-shrink: 0;
    box-shadow: none !important;
}

input[type="radio"]::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    transition: 0.3s;
    transform: scale(0);
    background-color: #222222;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

input[type="checkbox"]::before {
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='8' viewBox='0 0 9 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.44899 7.76355C3.36328 7.84971 3.24641 7.89784 3.12495 7.89784C3.00349 7.89784 2.88662 7.84971 2.80091 7.76355L0.213156 5.17534C-0.0554271 4.90676 -0.0554271 4.47134 0.213156 4.20321L0.537198 3.87917C0.805781 3.61059 1.24074 3.61059 1.50932 3.87917L3.12495 5.4948L7.49057 1.12917C7.75916 0.860589 8.19457 0.860589 8.4627 1.12917L8.78674 1.45321C9.05532 1.7218 9.05532 2.15721 8.78674 2.42534L3.44899 7.76355Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 8px;
    height: 100%;
    width: 100%;
    transition: 0.3s;
    transform: scale(0);
    background-color: #222222;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    border-color: #222222 !important;
}

/* Other Styles (simplified from your SCSS) */
.wp-block-button {
    margin-bottom: 10px;
}

.wp-block-archives select,
.wp-block-categories select {
    height: 50px;
    width: 200px;
    border: 1px solid #ddd;
    padding: 0 10px;
    margin-bottom: 10px;
}

.wp-block-cover p.wp-block-cover-text,
.wp-block-cover.is-light .wp-block-cover__inner-container {
    color: #ffffff !important;
}

.wp-block-cover-text a {
    color: #ffffff;
}

/* Error Page */
.error-404.not-found {
    margin-top: -20px;
    margin-bottom: 40px;
}

.error-404.not-found .error-content .error-btn-bh {
    margin-top: 20px;
}

/* Form Submit Message */
.mc4wp-response {
    position: relative;
    top: 15px;
}

.mc4wp-response .mc4wp-alert.mc4wp-error p,
.mc4wp-response .mc4wp-alert.mc4wp-success p,
.mc4wp-response .mc4wp-alert.mc4wp-notice p {
    color: #fff;
    position: relative;
}


footer .footer-left ul li.menu-item {
    margin-top: 14px !important;
    font-family: inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

@media (max-width: 768px) {
    footer .footer-left ul li.menu-item {
        margin-top: 4px !important;
    }
}

footer .footer-left .link1,
footer .footer-left ul li a {
    font-size: 14px;
    font-weight: normal;
    font-family: inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

}


.te-blog-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.te-post-navigation {
    display: flex;
    gap: 20px;
    align-items: center;
}