/*
Theme Name: Typerite
Theme URI: https://yoursite.com/typerite
Author: Your Name
Author URI: https://yoursite.com
Description: A clean, minimal blog theme with masonry layout. Converted from Typerite HTML template by StyleShout.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: typerite
Tags: blog, one-column, two-columns, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, post-formats, sticky-post, theme-options, translation-ready

Typerite WordPress Theme, Copyright 2024 Your Name
Typerite is distributed under the terms of the GNU GPL
*/

/* WordPress Core Classes
================================================== */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* WordPress Gallery
================================================== */
.gallery {
    margin: 0 auto 1.8rem;
}

.gallery-item {
    display: inline-block;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    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-icon img {
    margin: 0 auto;
}

.gallery-caption {
    color: #707070;
    color: rgba(51, 51, 51, 0.7);
    display: block;
    font-size: 12px;
    line-height: 1.5;
    padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

/* 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: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Sticky Post
================================================== */
.sticky {
    display: block;
}

.sticky .entry__title::before {
    content: "\2605";
    margin-right: 5px;
}

/* WordPress Comments
================================================== */
.comment-list .bypostauthor > .comment__content {
    background-color: #f7f7f7;
    padding: 1.5rem;
    border-radius: 3px;
}

/* WordPress Pagination
================================================== */
.page-links {
    clear: both;
    margin: 2em 0;
}

.page-links span {
    padding: 0.5em;
}

.page-links a span {
    background-color: #333;
    color: #fff;
}

/* Password Protected Posts
================================================== */
.post-password-form label {
    display: block;
    margin-bottom: 1em;
}

.post-password-form input[type="password"] {
    margin-top: 0.5em;
}

/* Additional WordPress Overrides
================================================== */
.bypostauthor {
    display: block;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Widget Styles
================================================== */
.widget {
    margin-bottom: 2em;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1em;
    font-weight: 600;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.5em 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    text-decoration: none;
    color: inherit;
}

.widget ul li a:hover {
    color: #000;
}
